John Regehr

@regehr
5K Followers
980 Following
4.7K Posts
he/him
professional interestscompilers, software testing, fuzzing, formal verification, lowkey shitposting, mountains, deserts, cats
my pagehttps://john.regehr.org/
We've released a demo of the project @CanLehmann and I have been working on: @verijit is a meta-tracing Verilog emulator that specializes the simulated core to the machine code that is being executed on top of it. Was lots of fun to work on! I'm quite happy with the results too, we reach two orders of magnitude improvement over Verilator for a simple RISC-V core
https://www.youtube.com/watch?v=PXgUsEjvAOY
Verijit – Up to 100x faster Verilog simulation

YouTube

earlier this week I detected an onset of a shitty attitude, and I don’t have a lot of good ways of dealing with that besides going outdoors. so here’s camp for the night! it’ll be well below freezing by morning but this spot should get the sun as soon as it comes up

alt: long shot out over the central Utah desert, the Book Cliffs in the background, p&j terrain in the middle and then my backpack close up

I now have my own Utah teapot!

This ordinary teapot is the "hello world" object of computer graphics and has cameos in countless productions.

A thread on teapots and UNIX… 🧵

Photo: My Melitta teapot, 2026-04-16.

#retrocomputing #vintagecomputing #unix #utah

well I don't know what to make of this, but someone tried to vibe code a proved-correct JS to WASM compiler

https://www.basis.ai/blog/verified-compiler/

Building an Unverified Compiler with Agents

We tasked four agents to build a verified compiler. They produced a compiler, but failed to prove it correct.

Basis
I know it's on me for -- in a weak moment -- looking at the comments. but, truly, the mind boggles.
(to be clear this usage is 100% for the stove and 0% for drinking)

one of the reasons I keep visiting "the internet" is the bad food photographs. in this one, the cauliflower gratin appears to be pink. it should not be pink. and this same horrible photo appeared in about 50% of the matches for my search.

alt: the cauliflower gratin seems to be pink. if you cannot see this photograph, your life is richer for it.

I use a little Trangia alcohol stove when backpacking and consequently I measure success by how much ethanol I consume each year. this is a 1.75 l bottle and I’m doing ok!

alt: a mostly finished 1.75 liter bottle of 95% ethanol

in the same way that "star wars" and "rouge one" make a great web search, "computer security" and "treat model" did not disappoint

alt: just three little screenshots from papers about computer security that say "treat model" when I'm guessing they meant to say "threat model"

Our company does loads of shitty 'team building' events. The ice breaker is always 'tell everyone an interesting fact about yourself'. I always make them up. Last time I convinced everyone I drove the bulldozer in Bowie's Ashes to Ashes video.