Sequentialising Parallel Moves via @abnv https://lobste.rs/s/sflvst #compilers
https://compiler.club/parallel-moves/
compilers
int a = 5; a = a++ + ++a; a = ? (2011) https://lobste.rs/s/vbsonz #compilers
https://gynvael.coldwind.pl/?id=372
I'm writing a series of blog posts, in which I write a #bytecode #compiler and a #virtualMachine for arithmetic in #Haskell. We explore the following topics in the series:
- Parsing arithmetic expressions to ASTs.
- Compiling ASTs to bytecode.
- Interpreting ASTs.
- Efficiently executing bytecode in a VM.
- Disassembling bytecode and decompiling opcodes for debugging and testing.
- Unit testing and property-based testing for our compiler and VM.
- Benchmarking our code to see how the different passes perform.
- All the while keeping an eye on performance.
The second post of the series that focuses on writing the #compiler is now out: https://abhinavsarkar.net/posts/arithmetic-bytecode-vm-compiler
Deterministic Fully-Static Whole-Binary Translation without Heuristics via @fanf https://lobste.rs/s/djjacb #compilers
https://arxiv.org/abs/2605.08419
Retrofitting JIT Compilers into C Interpreters https://lobste.rs/s/q6j2fu #compilers
https://tratt.net/laurie/blog/2026/retrofitting_jit_compilers_into_c_interpreters.html
Lunacy - Lua 5.1 interpreter with Lazy Basic Block Versioning and JIT https://lobste.rs/s/l6egm2 #compilers #lua
https://redvice.org/2026/lunacy/
schrodingers-toctou: The binary you run is not the program you wrote https://lobste.rs/s/bmnusu #c #compilers #security
https://github.com/xoreaxeaxeax/schrodingers-toctou
I've written a series of blog posts, in which I write a #bytecode #compiler and a #virtualMachine for arithmetic in #Haskell. We explore the following topics in the series:
- Parsing arithmetic expressions to ASTs.
- Compiling ASTs to bytecode.
- Interpreting ASTs.
- Efficiently executing bytecode in a VM.
- Disassembling bytecode and decompiling opcodes for debugging and testing.
- Unit testing and property-based testing for our compiler and VM.
- Benchmarking our code to see how the different passes perform.
- All the while keeping an eye on performance.
The third and final post of the series that focuses on writing the virtual machine is now out: https://abhinavsarkar.net/posts/arithmetic-bytecode-vm/
Leaving performance on the table via @confusedalex https://lobste.rs/s/7lrk2t #compilers #performance
https://fzakaria.com/2026/05/23/leaving-performance-on-the-table
Compiling to Java as a target language via @abnv https://lobste.rs/s/wa4xvo #compilers #java #lisp
https://matt.might.net/articles/compiling-to-java/
KCL part 3, look and feel https://lobste.rs/s/kry26x #compilers
https://www.ncameron.org/blog/kcl-part-3-look-and-feel/
krabby: making a fast Rust compiler https://lobste.rs/s/zrnuhi #compilers #rust
https://bal-e.org/speed/krabby/
Tiny-Lua-Compiler: Possibly the smallest Lua compiler ever https://lobste.rs/s/np3vpy #compilers #lua
https://github.com/bytexenon/Tiny-Lua-Compiler
500 Lines or Less: A Python Interpreter Written in Python https://lobste.rs/s/eec2qq #compilers #programming #python
https://aosabook.org/en/500L/a-python-interpreter-written-in-python.html
InvisiCaps: The Fil-C Capability Model https://lobste.rs/s/kdflhr #c #compilers
https://fil-c.org/invisicaps
When compilers surprise you https://lobste.rs/s/vugypt #compilers
https://xania.org/202512/24-cunning-clang
Tracking down a 25% Regression on LLVM RISC-V https://lobste.rs/s/mrlfu8 #compilers #performance
https://blog.kaving.me/blog/tracking-down-a-25-regression-on-llvm-risc-v/
How LLVM optimizes power sums (2019) https://lobste.rs/s/b5klfi #c #c++ #compilers
https://kristerw.blogspot.com/2019/04/how-llvm-optimizes-geometric-sums.html
FMAG: A single-instruction GPU virtual machine and toolchain https://lobste.rs/s/fdbotr #compilers #programming
https://github.com/jangafx/FMAG
How To Make a Fast Dynamic Language Interpreter https://lobste.rs/s/vrmjge #compilers #performance #plt
https://zef-lang.dev/implementation
Turns out the "spent all day looking for a bug in my code and it was a compiler bug" works both ways around. Spent ages looking for a bug in my compiler to realise it was a bug in the code being compiled!
Gecko: a fast GLR parser with automatic syntax error recovery via @abnv https://lobste.rs/s/chsbgc #compilers
https://vnmakarov.github.io/parsing/compilers/c/open-source/2026/04/22/gecko-glr.html
REpsych: Psychological warfare in reverse engineering https://lobste.rs/s/ufvii3 #compilers
https://github.com/xoreaxeaxeax/repsych