Max's Avatar

Max

@bernsteinbear.com

Baking bread and compilers are kinda similar if you think about it @tekknolagi elsewhere bernsteinbear.com

399
Followers
75
Following
406
Posts
22.06.2023
Joined
Posts Following

Latest posts by Max @bernsteinbear.com

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...

27.02.2026 23:58 👍 24 🔁 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...

01.03.2026 15:29 👍 7 🔁 2 💬 0 📌 0

Moooorre!

28.02.2026 23:51 👍 1 🔁 0 💬 1 📌 0

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

28.02.2026 16:29 👍 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...

28.02.2026 15:22 👍 8 🔁 1 💬 1 📌 0

Wow, looks amazing!!! 🤩

27.02.2026 19:57 👍 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...

25.02.2026 15:27 👍 4 🔁 1 💬 0 📌 0
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...

26.02.2026 04:12 👍 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.

26.02.2026 04:08 👍 0 🔁 0 💬 1 📌 0

Agree 20+ mins without lid

26.02.2026 00:38 👍 2 🔁 0 💬 2 📌 0

Huge oven spring!!

25.02.2026 20:41 👍 2 🔁 0 💬 0 📌 0

Bread pics!

25.02.2026 18:31 👍 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...

25.02.2026 15:27 👍 4 🔁 1 💬 0 📌 0
xkcd 2501 generator

It's actually by MarshDeer:

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

24.02.2026 11:01 👍 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.

22.02.2026 20:17 👍 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...

20.02.2026 20:31 👍 8 🔁 3 💬 0 📌 1
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/

18.02.2026 21:32 👍 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/

16.02.2026 17:22 👍 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...

16.02.2026 21:22 👍 1 🔁 0 💬 0 📌 0

The Dalai Lama walks into a union-find shop and says can you make me one with everything

16.02.2026 21:21 👍 12 🔁 6 💬 1 📌 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/

16.02.2026 17:22 👍 6 🔁 2 💬 0 📌 0

Shrek 2 holds up and is a good Valentine's Day movie

15.02.2026 05:41 👍 2 🔁 0 💬 0 📌 0

I have 30 windows each with >50 tabs open :/

14.02.2026 15:29 👍 7 🔁 0 💬 1 📌 0

My former (excellent!) compiler intern is now in team matching at Google for full time. Anyone on Dart, V8, Go, ... who would chat with them? Thank you!!

13.02.2026 16:15 👍 4 🔁 0 💬 0 📌 0

It has to be written on the side of the shirt

12.02.2026 15:13 👍 2 🔁 0 💬 1 📌 0

You're absolutely right. The vertical axis is not X, it's Y.

12.02.2026 02:26 👍 16 🔁 0 💬 3 📌 0
Preview
PEP 814: Add frozendict built-in type After careful deliberation, the Python Steering Council is pleased to accept PEP 814 – Add frozendict built-in type. The absence of an immutable dict counterpart has been a long-standing gap in Pytho...

Coming soon to Python 3.15: frozendict

The Steering Council has just accepted @vstinner.bsky.social and @corona10.bsky.social's PEP 814 "Add frozendict built-in type".

discuss.python.org/t/pep-814-ad...

peps.python.org/pep-0814/

#Python #PEP814 #frozendict #Python315

11.02.2026 17:26 👍 21 🔁 4 💬 1 📌 1

Also it's a great day of the week to post this

10.02.2026 20:01 👍 1 🔁 0 💬 0 📌 0

Glad you're committing to the bit

10.02.2026 20:01 👍 1 🔁 0 💬 1 📌 0
Home - scheme-rs scheme-rs: embedded scheme for the Rust ecosystem

I am pleased to announce the first version of scheme-rs has been released for general consumption! Please checkout the website www.scheme-rs.org, the GitHub page github.com/maplant/sche..., or the announcement at maplant.com/2026-02-09-I...

09.02.2026 17:43 👍 5 🔁 3 💬 0 📌 0