Paul McGee retweeted
As of today @ladybirdbrowser is now a Rust project with some legacy C++ that we'll continue porting over 🤓
We've made incredible progress on concurrency in our engine since adopting Rust. I believe "CSS off the main thread" is a game-changer for browser responsiveness, and we're pushing forward on it!
On the safety side, it feels great to reduce our exposure to all the classic C++ traps, both temporal and spatial. One less (but very large) thing to worry about as we enter the most hostile computing environment mankind has devised: the web...
Paul McGee retweeted
Лучшее, что я видел за последнее время — чел пилит ASCII MMORPG, в которой вся графика состоит из букв и символов.
Да, буквально весь мир, персонажи, окружение и спецэффекты нарисованы разноцветным текстом.
Автор сейчас экспериментирует с магией, визуалом и боссами. Я прям залип на то, как из нескольких десятков символов получается такая красота.
Буквально сны при температуре 37,2.
Via: tiktok.com/@Ansenjeo
Paul McGee retweeted
Many people just starting out on Lean formalization have enjoyed playing the Natural Numbers Game. Now Autumn Mapes has produced Visual Lean, isomorphic to the original but playable in a lovely intuitive way with clicking and dragging rather than typing.
leangame.autumnofautumn.com/
Paul McGee retweeted
Memory management is one of the crucial aspects of runtime execution of a program. And malloc plays a significant role in these programs.
glibc's malloc comes from ptmalloc, which comes from Doug Lea's dlmalloc. It's a "heap" style allocator: it divides large regions of memory into chunks of various sizes.
Each chunk stores its size in a header. When a chunk is freed, the space that held app data is reused for free-list pointers, so malloc can find and reuse that chunk quickly.
For multithreaded programs, malloc uses multiple "arenas," each with its own lock, so threads don't block each other. The number of arenas is capped at 8× the CPU count.
A per-thread cache (tcache) speeds up small allocations even mores. The glibc wiki explains all of it in detail
sourceware.org/glibc/wiki/Ma…
Paul McGee retweeted
Flattening ASTs (and Other Compiler Data Structures) by Adrian Sampson
cs.cornell.edu/~asampson/blo…
"Leveling Up One's Parsing Game With ASTs" by Vaidehi Joshi - an awesome intro to understanding ASTs.
medium.com/basecs/leveling-u…
Paul McGee retweeted
Systematically deriving efficient programs from specifications with formally verified step-by-step transformations was a beautiful idea from the 80s from Richard Bird Lambert Meertens. With the advent of AI coding agents and AI theorem provers its time has finally come. I think this can form the basis of AI coding agents that generate correct by construction code accompanied by the working out that explains its derivation to a human (or another agent). The linked article reproduces one of Richard Bird’s classic examples in Lean 4, along with proofs and performance results.
satnam6502.github.io/bird-me…
Paul McGee retweeted
Genuinely one of the best condensed intros to modern CPU design - pipelining, OOO execution, branch prediction, SIMD, all without the fluff.
Recommend to anyone doing systems/perf work.
lighterra.com/papers/modernm…
Paul McGee retweeted
Been refreshing my understanding of Bayesian Neural Networks recently
I love them conceptually - they learn a probability distribution over their weights rather than learning a single static set of frozen weights (thats the case for most neural nets).
Basically you can generate multiple variants of the same neural network by sampling from these weight distributions. And you can use these variations to estimate of how uncertain the model is given a prediction.
IE the uncertainty of a prediction is measured by sampling the weights multiple times and seeing how much outputs change with each set of weights.
This illustration is from: cs.ox.ac.uk/people/yarin.gal…
Paul McGee retweeted
I asked Claude Opus 5.5 to make the most impressive demo of itself and gave it zero direction.
~5 hours and 697M tokens later, it made this demoscene intro. Every pixel and every sound comes from one 280 KB HTML file. No images, audio files, 3D models, or libraries.
Sound on.
(It also wrote this tweet)
Paul McGee retweeted
Another day, another fan making something that completely shames everything Disney has made since 2016.
Readers added context they thought people might want to know
The content was deliberately posted an unattributed video, denying credit to the author, who receives none of the benefits of this popular post. It should be denied monetization.
x.com/karim_yourself…
Paul McGee retweeted
I've resurrected the comonad.com/reader, interleaved a ton of contemporaneous content I had stored elsewhere, and made a couple of the articles interactive by moving their demo code into web assembly using modern GHC.
Please let me know if you run into any issues. #Haskell
Paul McGee retweeted
A proof reveals a surprising link between graph theory and the Fourier transform. “It is a little bit like the moon landing or the 4-minute mile,” said Tom Sanders of the University of Oxford. “It’s not clear ahead of time what this is going to open up.” quantamagazine.org/networks-…

























