Searching We.Love.Privacy.Club

Twts matching #code
Sort by: Newest, Oldest, Most Relevant

Whoo! I fixed one of the hardest bugs in mu (µ) I think I’ve had to figure out. Took me several days in fact to figure it out. The basic problem was, println(1, 2) was bring printed as 1 2 in the bytecode VM and 1 nil when natively compiled to machine code on macOS. In the end it turned out the machine code being generated / emitted meant that the list pointers for the rest... of the variadic arguments was being slot into a register that was being clobbered by the mu_retain and mu_release calls and effectively getting freed up on first use by the RC (reference counting) garbage collector 🤦‍♂️

⤋ Read More
In-reply-to » Hmmm I need to figure out a way to reduce the no. of lines of code / complexity of the ARM64 native code emitter for mu (µ). It's insane really, it's a whopping ~6k SLOC, the next biggest source file is the compiler at only ~800 SLOC 🤔

@shinyoukai@neko.laidback.moe Nah it’s more like there’s a lot of repeated code, because when you go from source language to intermediate representation to machine code, well you just end up writing a lot of the same patterns over and over again. I need to dedupe this I think.

⤋ Read More

44% Of GNOME Core Apps Are Written In C, 13% In JavaScript & 10% In Rust
GNOME developer Sophie Herold has shared some interesting end-of-year code stats for the GNOME project. The “GNOME” codebase is up to 6,692,516 lines of code at the end of 2025 with 1,611,526 lines of that being from GNOME apps. Where the data gets interesting is on the programming language breakdown in different areas… ⌘ Read more

⤋ Read More
In-reply-to » Hmmm I need to figure out a way to reduce the no. of lines of code / complexity of the ARM64 native code emitter for mu (µ). It's insane really, it's a whopping ~6k SLOC, the next biggest source file is the compiler at only ~800 SLOC 🤔

The compiler technique I’m using here is to not “emit” most of the runtime if it’s actually never used in your program, and also dropping dead code in the SSA pass.

⤋ Read More

Hmmm I need to figure out a way to reduce the no. of lines of code / complexity of the ARM64 native code emitter for mu (µ). It’s insane really, it’s a whopping ~6k SLOC, the next biggest source file is the compiler at only ~800 SLOC 🤔

⤋ Read More
In-reply-to » My little toy operating system from last year runs in 16-bit Real Mode (like DOS). Since I’ve recently figured out how to switch to 64-bit Long Mode right after BIOS boot, I now have a little program that performs this switch on my toy OS. It will load and run any x86-64 program, assuming it’s freestanding, a flat binary, and small enough (< 128 KiB code, only uses the first 2 MiB of memory).

@movq@www.uninformativ.de I think I can get binaries even smaller with a bit more work and effort 🤔 But yeah still working on the native code generation (at least for macOS targets)

⤋ Read More
In-reply-to » My little toy operating system from last year runs in 16-bit Real Mode (like DOS). Since I’ve recently figured out how to switch to 64-bit Long Mode right after BIOS boot, I now have a little program that performs this switch on my toy OS. It will load and run any x86-64 program, assuming it’s freestanding, a flat binary, and small enough (< 128 KiB code, only uses the first 2 MiB of memory).

@movq@www.uninformativ.de Oh that’s fine, Mu can compile to native code and so far binaries. at least on macOS are in the order of Kb in size 😂

⤋ Read More

FFmpeg Developer Files DMCA Against Rockchip After Two-Year Wait for License Fix
GitHub has disabled Rockchip’s Media Process Platform repository after an FFmpeg developer filed a DMCA takedown notice, nearly two years after the open-source project first publicly accused the Chinese chipmaker of license violations. The notice, filed December 18, claims Rockchip copied thousands of lines of code fr … ⌘ Read more

⤋ Read More

My little toy operating system from last year runs in 16-bit Real Mode (like DOS). Since I’ve recently figured out how to switch to 64-bit Long Mode right after BIOS boot, I now have a little program that performs this switch on my toy OS. It will load and run any x86-64 program, assuming it’s freestanding, a flat binary, and small enough (< 128 KiB code, only uses the first 2 MiB of memory).

Here I’m running a little C program (compiled using normal GCC, no Watcom trickery):

https://movq.de/v/b27ced6dcb/los86%2D64.mp4

Next steps could include:

  • Use Rust instead of C for that 64-bit program?
  • Provide interrupt service routines. (At the moment, it just keeps interrupts disabled.)

⤋ Read More

Cursor CEO Warns Vibe Coding Builds ‘Shaky Foundations’ That Eventually Crumble
Michael Truell, the 25-year-old CEO and cofounder of Cursor, is drawing a sharp distinction between careful AI-assisted development and the more hands-off approach commonly known as “vibe coding.” Speaking at a conference, Truell described vibe coding as a method where users “close your eyes and you don’t look at … ⌘ Read more

⤋ Read More

Apple’s App Course Runs $20,000 a Student. Is It Really Worth It?
Apple’s Developer Academy in Detroit has spent roughly $30 million over four years training hundreds of people to build iPhone apps, but not everyone lands coding jobs right away, according to a WIRED story published this week.

The program launched in 2021 as part of Apple’s $200 million response to the Black Lives Matter protests and costs an esti … ⌘ Read more

⤋ Read More

What Might Adding Emojis and Pictures To Text Programming Languages Look Like?
theodp writes: We all mix pictures, emojis, and text freely in our communications. So why not in our code? That’s the premise of “Fun With Python and Emoji: What Might Adding Pictures to Text Programming Languages Look Like?” (two-image Bluesky explainer; full slides), which takes a look at what mixing emoji with … ⌘ Read more

⤋ Read More

Linux’s sched_ext Has Plans For GPU Awareness, Energy-Aware Abstractions
Sched_ext as the extensible scheduler code for the Linux kernel that allows loading schedulers from user-space via eBPF code has shown a lot of interesting possibilities. Andrea Righi of NVIDIA who has been heavily involved in sched_ext development shared some of the future plans being looked at as we move into 2026… ⌘ Read more

⤋ Read More

LLVM Considering An AI Tool Policy, AI Bot For Fixing Build System Breakage Proposed
Last week a request for comments (RFC) was issued around establishing an LLVM AI Tool Use Policy. The proposed policy would allow AI-assisted contributions to be made to this open-source compiler codebase but that there would need to be a “human in the loop” and the contributor versed enough to be able to answer questions during code review. Separately, yesterday a proposal was sent out for creating an AI-assisted fixer bot to hel … ⌘ Read more

⤋ Read More

Microsoft To Replace All C/C++ Code With Rust By 2030
Microsoft plans to eliminate all C and C++ code across its major codebases by 2030, replacing it with Rust using AI-assisted, large-scale refactoring. “My goal is to eliminate every line of C and C++ from Microsoft by 2030,” Microsoft Distinguished Engineer Galen Hunt writes in a post on LinkedIn. “Our strategy is to combine AI and Algorithms to rewrite Microsoft’s … ⌘ Read more

⤋ Read More

Inaugural ‘Hour of AI’ Event Includes Minecraft, Microsoft, Google and 13.1 Million K-12 Schoolkids
Long-time Slashdot reader theodp writes: Last September, tech-backed nonprofit Code.org pledged to engage 25 million K-12 schoolchildren in an “Hour of AI” this school year. Preliminary numbers released this week by the Code.org Advocacy Coalition showed that [halfway through the f … ⌘ Read more

⤋ Read More

WMI Marshalling Support For Linux Aims To Match Windows’ ACPI/WMI Handling
Open-source developer Armin Wolf has been working most recently on marshalling support for the Windows Management Instrumentation (WMI) platform code within the Linux kernel. This WMI marshalling support is to better match the behavior of Microsoft Windows’ WMI ACPI driver and ultimately to allow for better compatibility with some ACPI firmware and enhancing some WMI drivers… ⌘ Read more

⤋ Read More

Does AI Really Make Coders Faster?
One developer tells MIT Technology Review that AI tools weaken the coding instincts he used to have. And beyond that, “It’s just not fun sitting there with my work being done for me.”

But is AI making coders faster? “After speaking to more than 30 developers, technology executives, analysts, and researchers, MIT Technology Review found that the picture is not as straightforward as it might seem…”
… ⌘ Read more

⤋ Read More

Gemini AI Yielding Sloppy Code For Ubuntu Development With New Helper Script
A few weeks ago it was mentioned by a Canonical engineer how trying to use AI to modernize the Ubuntu Error Tracker yielded some code that was “plain wrong” and other issues raised by that Microsoft GitHub Copilot code. The same Ubuntu developer shifted to trying Gemini AI to generate a helper script to assist in Ubuntu’s monthly ISO snapshot releases. Google’s Gemini AI also generated some sloppy code for a Python script to assist in tho … ⌘ Read more

⤋ Read More

@movq@www.uninformativ.de @kiwu@twtxt.net it just so happens to be a happy coincidence that I’m extending mu’s capabilities to now include a native toolchain-free compiler (doesn’t rely on any external gcc/clang or linkers, etc) that lowers the mu source code into an intermediate representation / IR (what @movq@www.uninformativ.de refers to as “thick layers of abstractions”…) and finally to SSA + ARM64 + Mach-O encoder to produce native binary executables (at least for me on my Mac, Linux may some later?) 🤣

⤋ Read More

Chrome/Chromium Add Support For Printing Via XDG Portal
Google’s Chrome/Chromium web browser code has merged support for Linux printing via the XDG Portal. This is important to allow print support from within Flatpak or Snap sandboxed versions of Google’s web browser… ⌘ Read more

⤋ Read More

Stanford Computer Science Grads Find Their Degrees No Longer Guarantee Jobs
Elite computer science degrees are no longer a guaranteed on-ramp to tech jobs, as AI-driven coding tools slash demand for entry-level engineers and concentrate hiring around a small pool of already “elite” or AI-savvy developers. The Los Angeles Times reports: “Stanford computer science graduates are struggling to find … ⌘ Read more

⤋ Read More

Judge Hints Vizio TV Buyers May Have Rights To Source Code Licensed Under GPL
A California judge signaled support for forcing Vizio to provide the full source code for its SmartCast TV software after finding a contractual obligation under the GPL. If upheld, the case could strengthen users’ rights to modify GPL-licensed software embedded in consumer electronics. The Register reports: The legal comp … ⌘ Read more

⤋ Read More

Mesa NVK Driver Merges Compression Support For Better Performance
Merged today to the Mesa 26.0-devel code for the open-source NVIDIA “NVK” Vulkan driver is compression support for helping to deliver better performance… ⌘ Read more

⤋ Read More

Qt 6.11 Beta Released With New Canvas Painter, OpenAPI & TaskTree Modules
Qt 6.11 Beta 1 is out on-schedule with the code having entered its feature freeze and code branching earlier this month. This toolkit is working toward the stable Qt 6.11 stable debut in March… ⌘ Read more

⤋ Read More

Linux Kernel Rust Code Sees Its First CVE Vulnerability
Longtime Linux developer Greg Kroah-Hartman announced that the Linux kernel has received its first CVE tied to Rust code. Phoronix reports: This first CVE (CVE-2025-68260) for Rust code in the Linux kernel pertains to the Android Binder rewrite in Rust. There is a race condition that can occur due to some noted unsafe Rust code. That code can lead to memory corrupti … ⌘ Read more

⤋ Read More

Linux Patches Begin Adapting RAID Code To Use Folios
A new set of patches posted today to the Linux kernel mailing list begin adapting the Linux software RAID code paths to begin making use of the folio data structure… ⌘ Read more

⤋ Read More

Intel Quietly Discontinues Its Open-Source User-Space Gaudi Driver Code
Intel has quietly stopped maintaining its open-source user-space driver stack for Gaudi accelerators. Phoronix reports: It turns out earlier this year Intel archived the SynapseAI Core open-source code and is no longer maintained by Intel. The open-source Synapse AI Core GitHub repository was archived in February and README updated … ⌘ Read more

⤋ Read More

Got a nice conspiracy theory for you:

https://mastodon.social/@mcc/115670290552252848

Actually wait I just thought about this and realized that the precise timing of the ACTUAL GitHub seed bank, by which I mean the Arctic Code Vault, on 2020-02-02, makes it more or less a perfect snapshot of pre-Copilot GitHub. Also precisely timed before we all got brain damage from COVID. This is the only remaining archive of source code by people with a fully working sense of smell

(Bonus points because the Arctic World Archive is located in Svaldbard and that’s the name of the AI in Stacey Kade’s “Cold Eternity”.)

⤋ Read More

China, Iran Are Having a Field Day With React2Shell, Google Warns
A critical React vulnerability (CVE-2025-55182) is being actively exploited at scale by Chinese, Iranian, North Korean, and criminal groups to gain remote code execution, deploy backdoors, and mine crypto. The Register reports: React maintainers disclosed the critical bug on December 3, and exploitation began almost immediately. According to Amazon … ⌘ Read more

⤋ Read More

I cleaned up all my of AoC (Advent of Code) 2025 solutions, refactored many of the utilities I had to write as reusable libraries, re-tested Day 1 (but nothing else). here it is if you’re curious! This is written in mu, my own language I built as a self-hosted minimal compiler/vm with very few types and builtins.

https://git.mills.io/prologic/aoc2025

⤋ Read More

Purdue University Approves New AI Requirement For All Undergrads
Nonprofit Code.org released its 2025 State of AI & Computer Science Education report this week with a state-by-state analysis of school policies complaining that “0 out of 50 states require AI+CS for graduation.”

But meanwhile, at the college level, “Purdue University will begin requiring that all of its undergraduate students demonstrate basic … ⌘ Read more

⤋ Read More

New Rule Forbids GNOME Shell Extensions Made Using AI-Generated Code
An anonymous reader shared this report from Phoronix:

Due to the growing number of GNOME Shell extensions looking to appear on extensions.gnome.org that were generated using AI, it’s now prohibited. The new rule in their guidelines note that AI-generated code will be explicitly rejected:

“Extensions must not be AI-generated

While it i … ⌘ Read more

⤋ Read More

Oracles Releases Updated “bpftune” For BPF-Based Auto-Tuning Of Linux Systems
The past few years Oracle has been working on bpftune as a solution for BPF-based, automatic tuning of Linux systems. Bpftune has been available via Oracle Linux and GitHub while finally their open-source GitHub code has seen the first new tagged release in a while… ⌘ Read more

⤋ Read More

New Rule Forbids GNOME Shell Extensions Made Using AI Generated Code
The GNOME.org Extensions hosting for GNOME Shell extensions will no longer accept new contributions with AI-generated code. A new rule has been added to their review guidelines to forbid AI-generated code… ⌘ Read more

⤋ Read More

New Linux Patch Confirms: Rust Experiment Is Done, Rust Is Here To Stay
Rust for Linux lead developer Miguel Ojeda posted the patch a short time ago to “conclude the Rust experiment”. The “experiment” of Rust programming language code in the Linux kernel is over as it’s now accepted to be a success and “Rust is here to stay” in the kernel… ⌘ Read more

⤋ Read More
In-reply-to » Advent of Code 2025 starts tomorrow. 🥳🎄

Alright, Advent of Code is over:

https://www.uninformativ.de/blog/postings/2025-12-12/0/POSTING-en.html

It’s been quite the time sink, especially with the DOS games on top, but it was fun. 🥳

In case you’re wondering: All puzzles (except for part 2 of day 10) were doable in Python 1 on SuSE Linux 6.4 and ran in a finite time on the Pentium 133. Puzzle 10/2 might have been doable as well if I had better education. 🤣

⤋ Read More

Blender Working On KosmicKrisp Support For Vulkan On macOS
The Blender 3D modeling software could enjoy better macOS support with better cross-platform code paths thanks to in-development work for leveraging KosmicKrisp for Vulkan API usage on macOS via Metal… ⌘ Read more

⤋ Read More

ReBAR Code Cleaned Up For Linux 6.19 Along With A Few New PCIe Controller Drivers
All of the PCI subsystem updates were merged last week for the nearly-over Linux 6.19 merge window. Standing out this cycle are Resizable BAR improvements as well as introducing a few new PCIe controller drivers… ⌘ Read more

⤋ Read More

Windows WSL 2.7.0 Released With Newer Linux 6.6 LTS Point Release, Many Fixes
Microsoft today released WSL 2.7.0, the newest version of their Windows Subsystem for Linux code that enables running Linux binaries atop Windows 11 hosts… ⌘ Read more

⤋ Read More

GPT-5.2 Arrives as OpenAI Scrambles To Respond To Gemini 3’s Gains
OpenAI on Thursday released GPT-5.2, its latest and what the company calls its “best model yet for everyday professional use,” just days after CEO Sam Altman declared a “code red” internally to marshal resources toward improving ChatGPT amid intensifying competition from Google’s well-received Gemini 3 model. The GPT-5.2 series ships in three tiers: … ⌘ Read more

⤋ Read More