A researcher experiments with integrating local LLMs into compiler pipelines to generate code optimizations, testing five benchmark programs to evaluate performance improvements, functional correctness, and optimal optimization stages. The work, presented as a poster at CppCon, explores whether small local LLMs can match or exceed traditional compiler optimizations like -O3, with results suggesting larger cloud models perform significantly better for LLVM IR optimization.
Sere is a compiled systems programming language with Python-like syntax that compiles to native binaries via LLVM 22. It offers standalone compilation, clean syntax with structs and enums, and includes developer tooling like LSP and VSCode support.
Metacarp is a new self-hosting compiler for the Carp programming language, written in Carp itself. It successfully compiles the reference test suite, itself, and generates byte-identical C code, featuring modular compiler phases as independent libraries and experimental LLVM and JIT backends. While not yet a complete drop-in replacement for the Haskell reference implementation, it demonstrates a working second compiler for the language.
MSVC is implementing C++23 constexpr cmath functions using LLVM Libc to achieve better accuracy, stability, and consistency than the existing Universal C Runtime. The feature will ship experimentally in compiler version 19.52, enabled via /std:c++23 and /Zc:cmath flags, as the team addresses mathematical inaccuracies and OS-dependent behavior in current math functions.
An article examining data races in concurrent programming and the limitations of ThreadSanitizer (TSan), a race detector used across Clang, GCC, Go, Swift, and OCaml. The piece demonstrates how TSan works using Python simulations and vector clocks, then reveals architectural blind spots where TSan fails to detect obvious races, including scenarios with over 255 threads and certain Go sync.Pool design patterns.