Tag

Compiler

All articles tagged with #compiler

technology22 days ago

AI Team Constructs a 100k-Line C Compiler That Boots Linux on Multiple Architectures

Anthropic’s Opus 4.6 used a team of AI agents to assemble a ~100k-line C compiler in Rust that can build the Linux kernel on x86-64, ARM, and RISC-V after about 2,000 Claude Code sessions and $20k in API costs. It can bootstrap on several ports and run large workloads, but its code quality and efficiency lag GCC/LLVM and it relies on GCC for the 16‑bit bootstrap. The project has sparked debates over clean-room design and training-data provenance, while highlighting AI-assisted tooling as a research milestone rather than production-ready software.

technology2 years ago

"LLVM/Clang: A Viable GCC Replacement for Linux Distributions"

Despite most Linux distributions defaulting to GCC, Chimera Linux has successfully used LLVM/Clang as its exclusive toolchain for three years, targeting five CPU architectures. The project found LLVM's link-time optimization and security hardening features to be superior, and demonstrated that LLVM can effectively build Linux distributions. Daniel Kolesa presented at FOSDEM 2024 on this experience, and more information can be found on the Chimera Linux non-GNU distribution at Chimera-Linux.org.

Rust gaining ground in software development with GCC, Xen, and Flash emulation.
technology2 years ago

Rust gaining ground in software development with GCC, Xen, and Flash emulation.

A team of developers is working on a project to create a Rust compiler frontend for the GNU Compiler Collection (GCC) toolchain, which has been in development since 2014. The project aims to bring Rust to the entire ecosystem of GCC tools and plugins, including security plugins, static analyzers, and link time optimization. The first version of gccrs will be available in GCC 13, but it is still a work in progress. The team hopes to help Rust's compiler team spot places where the language's specification could be more clear and to integrate Rust's algorithms into their own compiler.