Tag

Llvm

All articles tagged with #llvm

technology11 days ago

LLVM: The Open-Source Engine Powering Today’s Tech Stack

Funded starting in 2000 by the NSF, LLVM grew from an academic project into a foundational open-source compiler infrastructure that underpins Apple’s shift to Clang, Google/Meta data centers, ARM/Intel toolchains, and major platforms from PlayStation to WebAssembly. Its modular IR and pass pipeline enable persistent, offline, and JIT optimizations across languages with SSA form, supporting whole-program compilation and runtime profiling. This flexibility has accelerated software across mobile, cloud, desktop, gaming, HPC, and AI, while fueling education and research and spawning derivative projects like MLIR and related toolchains.

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.

Running Linux on a Commodore 64: Unveiling the Possibilities
technology2 years ago

Running Linux on a Commodore 64: Unveiling the Possibilities

Developer Onno Kortman has successfully run Linux on a Commodore 64 using llvm-mos, an adaptation of the LLVM compiler for the MOS 6502 processor. The process requires a RAM Expansion Unit (REU) due to the limited 64KiB memory. The emulator, called semu, is capable of running the Linux kernel and corresponding userland, albeit slowly. Kortman believes there is room for optimization, potentially improving performance by a factor of 10x. The next challenge is to test it on real hardware, and Kortman is encouraging others to share timelapse videos of an original unit with REU booting Linux.

Revolutionary AI System Improves Code Sorting After 10-Year Hiatus.
ai3 years ago

Revolutionary AI System Improves Code Sorting After 10-Year Hiatus.

Google's DeepMind AI group has developed a reinforcement learning tool called AlphaDev that can develop highly optimized sorting algorithms without being trained on human code examples. AlphaDev gradually develops the ability to write tight, highly efficient code by treating programming as a game and minimizing the latency of the code as a score. The code produced by AlphaDev was incorporated into the LLVM toolchain, the first time some of the code had been modified in over a decade, and is estimated to be executed trillions of times a day.