technical.cx Sources

Lobsters

Parsing JSON at compile time with C++26 static reflection

Suppose that you have a configuration file in JSON. Something like this: { "width": 1920, "height": 1080, "fullscreen": true, "title": "My Game", "volume": 0.8 } Normally you ship this file alongside your program, open it at startup, read it, and parse it....

Lobsters

Clojure is almost as fast as C (with some help)

I have a stress test written in C: 100,000 cubes flying around in space. The CPU rebuilds every cube’s 4x4 transform matrix on every frame and sends all of them to the GPU. That is around 900,000 sine evaluations and 6 MB of matrix data per frame, and after...

Claude Claude Code

Lobsters

The mystery of the Solar Realms Elite title screen - Break Into Chat

In my recent series ANSI art and webcomics, I debunked a false assertion that began in a history book and propagated across the web. Now it’s time to solve the mystery of an old ANSI art screen that I helped propagate across the web 20 years ago. Allow me...

Lobsters

Comparison and Benchmarking of Rust Decimal Crates

As is well known, because 2 and 10 do not share the same prime factors, binary fractions cannot represent decimal fractions exactly. For example, f64 has the classic arithmetic error: 0.1 + 0.2 != 0.3.

Lobsters

Datalog

Comments

Lobsters

write for one person

If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!