llvm

Tag

Cards List
#llvm

PS3 emulation is fast on ARM now

Lobsters Hottest · 3d ago Cached

RPCS3's ARM port now runs 60% faster and draws 25% less power after fixing a busy-wait timer bug, replacing x86 pause with ARM ISB, and reworking LLVM code generation. The gains come from low-level ARM optimizations driven by a cheap Android handheld test device.

0 favorites 0 likes
#llvm

BorrowSanitizer

Lobsters Hottest · 6d ago Cached

BorrowSanitizer is an open-source LLVM sanitizer for detecting Rust-specific aliasing violations in multi-language applications, aiming to be fast enough for fuzzing and to support Rust, C, and C++ interop.

0 favorites 0 likes
#llvm

A tour of MLIR: The Dialect Stack Everyone Depends On

Lobsters Hottest · 2026-07-24 Cached

This post explains MLIR as a compiler infrastructure framework that provides a flexible dialect stack, describing how it is used across modern ML compilers like XLA, Triton, and Mojo to progressively lower tensor operations to machine code.

0 favorites 0 likes
#llvm

Fil-C: Garbage In, Memory Safety Out

Lobsters Hottest · 2026-07-23 Cached

Fil-C is a fully memory-safe implementation of C/C++. It bundles pointer values with boundary information using invisicaps at the LLVM IR stage, achieving high compatibility with a performance penalty of about 4x.

0 favorites 0 likes
#llvm

Improving std::simd::swizzle_dyn

Lobsters Hottest · 2026-07-23 Cached

A detailed analysis of Rust's std::simd::swizzle_dyn implementation, exposing performance shortcomings and proposing optimizations to better leverage hardware shuffle instructions.

0 favorites 0 likes
#llvm

56,000 lines of DOOM, in a language I made up

Hacker News Top · 2026-07-16 Cached

The author built a joke programming language called bet that compiles via LLVM, uses arena-based memory management, and successfully runs the full DOOM game (56,000 lines) without code review, relying only on tests.

0 favorites 0 likes
#llvm

Differentiable Fortran with LFortran and Enzyme

Hacker News Top · 2026-07-14 Cached

This blog post explores a technique to make legacy Fortran simulation code differentiable using LFortran, Enzyme, and Tesseract, allowing automatic differentiation and integration with JAX for use in machine learning pipelines.

0 favorites 0 likes
#llvm

Dense Arena Interning: The Engine of Compiler Performance

Hacker News Top · 2026-07-12 Cached

This article explains how implementing a Dense Arena Interner can drastically improve compiler performance by converting strings and structures into dense integers, enabling O(1) comparisons after an upfront hashing cost during lexing.

0 favorites 0 likes
#llvm

The LLVM Compiler Infrastructure

Hacker News Top · 2026-07-04

LLVM is a collection of modular and reusable compiler and toolchain technologies used for developing compiler front ends and back ends.

0 favorites 0 likes
#llvm

A deep dive into SmallVector:push_back

Hacker News Top · 2026-06-29 Cached

This blog post explores an optimization for LLVM's SmallVector::push_back by tail-calling the grow-and-push path, which eliminates callee-saved register spills and improves the fast path performance.

0 favorites 0 likes
#llvm

Optimizing LLVM's bump allocator

Lobsters Hottest · 2026-06-29 Cached

This blog post details three recent optimizations to LLVM's BumpPtrAllocator, reducing fast-path overhead by removing redundant alignment, null pointer checks, and per-allocation accounting, resulting in improved performance for Clang, lld, and other LLVM components.

0 favorites 0 likes
#llvm

Gossamer: a Rust-flavoured language with real goroutines and pause-free memory

Hacker News Top · 2026-06-26 Cached

Gossamer is a new programming language inspired by Rust that features real goroutines, pause-free deterministic memory management with reference counting and arenas, and a bytecode VM with LLVM compilation. It aims to provide expressive syntax without a borrow checker or garbage collector pauses.

0 favorites 0 likes
#llvm

Advanced Compilers: The Self-Guided Online Course

Hacker News Top · 2026-06-18 Cached

CS 6120 is a PhD-level online self-guided course on advanced compilers, covering intermediate representations, data flow, optimizations, and including paper readings and implementation tasks using LLVM and Bril.

0 favorites 0 likes
#llvm

Adopting the Parallel DWARF linker in dsymutil

Hacker News Top · 2026-06-06 Cached

Apple's dsymutil tool, which links DWARF debug info into self-contained bundles, is adopting a parallel DWARF linker to address the single-threaded bottleneck in type deduplication, despite challenges in qualification due to non-binary-identical output.

0 favorites 0 likes
#llvm

The Ü Programming Language

Hacker News Top · 2026-06-04 Cached

Ü is a statically-typed compiled programming language designed for reliability and speed, with safe/unsafe code separation, RAII, and LLVM backend. It aims to be superior to C++ and easier than Rust.

0 favorites 0 likes
#llvm

Semantic reification: how to generate UB-free code with arbitrary control flow?

Hacker News Top · 2026-06-03 Cached

Reify is an open-source random C program generator based on semantic reification that produces undefined-behavior-free code for compiler testing. It has already uncovered 59 bugs in GCC and LLVM, plus additional bugs in OpenJ9 and Linux's eBPF runtime.

0 favorites 0 likes
#llvm

Perry Compiles TypeScript directly to executables using SWC and LLVM

Hacker News Top · 2026-05-30 Cached

Perry compiles TypeScript directly to native executables using SWC and LLVM, producing small binaries with no runtime dependencies, supporting all major platforms and native UI widgets.

0 favorites 0 likes
#llvm

Leaving performance on the table

Lobsters Hottest · 2026-05-29 Cached

A technical blog post demonstrating how Profile-Guided Optimization (PGO) with LLVM can significantly improve binary performance beyond standard -O3 and LTO, using SQLite as a benchmark.

0 favorites 0 likes
#llvm

[RFC] LLVM Foundation statement in favor of open access to standards documents

Lobsters Hottest · 2026-05-21

The LLVM Foundation has released a statement advocating for open access to standards documents, aiming to increase transparency and community involvement.

0 favorites 0 likes
#llvm

Show HN: Nibble

Hacker News Top · 2026-05-14 Cached

Nibble is a C-like systems programming language implemented in 3000 lines of C that generates LLVM IR without external dependencies or heap allocations. It supports defer, recursion, various types, structs, pointers, and includes graphical demos.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback