Advertisement · 728 × 90

Posts by Max

Value numbering Welcome back to compiler land. Today we’re going to talk about value numbering, which is like SSA, but more.

In which I finally make sense of value numbering

bernsteinbear.com/blog/value-n...

5 days ago 16 4 0 0
A tail-call interpreter in (nightly) Rust Exploring tail-call-style interpreter implementation with an optimized Uxn emulator, on ARM, x86, and WebAssembly

If – on this grey Sunday morning – you would like to read a dozen pages about using tail calls for fast interpreters, then I have Excellent News for you:

www.mattkeeter.com/blog/2026-04...

4 days ago 76 8 5 0
Value numbering Welcome back to compiler land. Today we’re going to talk about value numbering, which is like SSA, but more.

In which I finally make sense of value numbering

bernsteinbear.com/blog/value-n...

5 days ago 16 4 0 0

Reminds me of the Pedro Pascal hospital skit

5 days ago 0 0 0 0
Preview
C++ support by stedolan · Pull Request #14701 · ocaml/ocaml This patch adds a new C++ backend to ocamlc, improving on the unincremented C currently in use by the runtime and FFI. As an example, here's a simple program that computes the prime numbers up ...

This is such an ingenious Apr 1st PR from Stephen Dolan I feel like it's the exact opposite of AI slop github.com/ocaml/ocaml/...

1 week ago 12 6 0 1
Preview
Using Perfetto in ZJIT We added Perfetto tracing support to ZJIT so we could visualize and > query slow events. Take a look at the pretty colors and see how you can add > this to your > system too.

Perfetto is pretty neat
railsatscale.com/2026-03-27-u...

1 week ago 5 1 0 0

New textbook cover?

3 weeks ago 32 2 0 1
Preview
How ZJIT removes redundant object loads and stores ZJIT’s optimizer now removes redundant object loads and stores, improving JIT performance of CRuby’s shape system. This post explains how the optimization works.

New post by Jacob about recent heap modeling optimizations in ZJIT :D

railsatscale.com/2026-03-18-h...

3 weeks ago 8 4 0 0

One more time — I'm looking for new consulting clients.

Some ways I can help:

∙ Fractional tech leadership (tackling "leadership debt" in small eng orgs)
∙ Full-stack, 0 to 1 projects
∙ Language design & impl (eg with @ohmjs.org)
∙ JavaScript/TypeScript perf

(🔁 appreciated)

3 weeks ago 11 16 0 0

Sharon Korean Kitchen in Boston is great. Stumbled across it and thoroughly enjoyed. Vegetarian friendly, too

1 month ago 3 0 0 0
Advertisement
Preview
Swift Compiler Backend Engineer - Jobs - Careers at Apple Apply for a Swift Compiler Backend Engineer job at Apple. Read about the role and find out if it’s right for you.

The Swift Performance team isn’t *my* team, but they’re in my hallway. Or in London if you’d prefer. They’re looking for an engineer who’s not afraid of optimizers. jobs.apple.com/en-us/detail...

1 month ago 25 16 2 0

I wrote a tiny vectorized interpreter last night, and .. thought I'd write up a post describing it. Nothing earth shattering here, but if you haven't seen one of these before it could be interesting! Probably easier to read than the J Incunabulum, but also less .. wow.

github.com/frankmcsherr...

1 month ago 9 2 0 0

Moooorre!

1 month ago 1 0 1 0

That's what I used it for :D had a bad rasterizer

1 month ago 1 0 1 0
microui+fenster=small gui Sometimes I just want to put pixels on a screen. I don’t want to think about SDL this or OpenGL that—I just want to draw my pixel buffer and be done.

I am partial to fenster: bernsteinbear.com/blog/fenster...

1 month ago 7 1 1 0

Wow, looks amazing!!! 🤩

1 month ago 1 0 0 0
A fuzzer for the Toy Optimizer It’s hard to get optimizers right. Even if you build up a painstaking test suite by hand, you will likely miss corner cases, especially corner cases at the interactions of multiple components or multi...

I wrote a little extremely DIY fuzzer for the load/store optimization in the toy optimizer!

bernsteinbear.com/blog/toy-fuz...

1 month ago 4 1 0 0
Advertisement
Preview
interp.c GitHub Gist: instantly share code, notes, and snippets.

Anyway in the process of thinking about this I sketched the tiniest interpreter generator and superinstruction generator (but not finder)

gist.github.com/tekknolagi/8...

1 month ago 1 0 0 0

So my friend Chris taught me what byte pair encoding is and then I was idly thinking about it and I wonder if people can/do use this for generating bytecode interpreter superinstructions.

1 month ago 0 0 1 0

Agree 20+ mins without lid

1 month ago 2 0 2 0

Huge oven spring!!

1 month ago 2 0 0 0

Bread pics!

1 month ago 0 0 1 0
A fuzzer for the Toy Optimizer It’s hard to get optimizers right. Even if you build up a painstaking test suite by hand, you will likely miss corner cases, especially corner cases at the interactions of multiple components or multi...

I wrote a little extremely DIY fuzzer for the load/store optimization in the toy optimizer!

bernsteinbear.com/blog/toy-fuz...

1 month ago 4 1 0 0
xkcd 2501 generator

It's actually by MarshDeer:

marshdeer.github.io/xkcd2501-gen...

1 month ago 25 3 2 0

S's new iPhone started setup at the Apple store. Only WiFi network it knew was "Apple Store". We leave midway through the update. Realize at home we can't connect to a new network. What to do?

Configure the access point to make a new network called "Apple Store", of course.

1 month ago 4 0 0 0
Post image

A bit late and not yet finalized, but our program for MoreVMs'26 is online.

Early registration deadline is in a few hours, but will remain open afterwards still.

Join us in Munich for a day of talks around language implementation!

2026.programming-conference.org/home/MoreVMs...

1 month ago 8 3 0 1
Advertisement
Preview
Weighted Union Find and Ground Knuth Bendix Completion A union find variant I think is simple and interesting is the “weighted” union find. This is distinguished from “size” or “rank” in that weight is considered a property of the id given by the user, no...

[New Blog Post] Weighted Union Find and Ground Knuth Bendix Completion www.philipzucker.com/weighted_uf/

1 month ago 5 1 0 0
Type-based alias analysis in the Toy Optimizer Another entry in the Toy Optimizer series.

Load-store elimination, now with type-based alias analysis (TBAA)

bernsteinbear.com/blog/toy-tbaa/

1 month ago 6 2 0 0
Karl tells the Dalai Lama a joke and it fails miserably
Karl tells the Dalai Lama a joke and it fails miserably YouTube video by TODAY

Shout out to the best to have ever done it, Karl Stefanovic
www.youtube.com/watch?v=xlIr...

1 month ago 1 0 0 0