Paul McGee (@logical_canine) profile picture

Atheist. Maths, Delphi, C++, Cat theory, FP ... in that order. And now Rust I guess. Yes. Rust. Fine.

Perth, W Aust.
Joined June 2015
Photo by Paul McGee (@logical_canine)Photo by Paul McGee (@logical_canine)Photo by Paul McGee (@logical_canine)Photo by Paul McGee (@logical_canine)Photo by Paul McGee (@logical_canine)Photo by Paul McGee (@logical_canine)Photo by Paul McGee (@logical_canine)Photo by Paul McGee (@logical_canine)Photo by Paul McGee (@logical_canine)Photo by Paul McGee (@logical_canine)
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...
92
79
15
2,217
70,826
Brits not understanding Brits speaking will always be funny 😂
59
671
56
4,394
202,165
Paul McGee retweeted
Fiat Uno: supremazia tecnologica italiana.
491
1,846
82
21,790
3,954,962
Paul McGee retweeted
Лучшее, что я видел за последнее время — чел пилит ASCII MMORPG, в которой вся графика состоит из букв и символов. Да, буквально весь мир, персонажи, окружение и спецэффекты нарисованы разноцветным текстом. Автор сейчас экспериментирует с магией, визуалом и боссами. Я прям залип на то, как из нескольких десятков символов получается такая красота. Буквально сны при температуре 37,2. Via: tiktok.com/@Ansenjeo
335
2,083
250
18,334
642,986
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/
10
74
6
424
45,083
Paul McGee retweeted
Esto ya se salió de control. 😂👌
747
8,875
954
46,423
2,727,624
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…
1
17
167
3,830
Paul McGee retweeted
Brilliant. Just brilliant. 🙏👍😂
435
2,639
249
12,566
603,560
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…
4
39
381
9,475
Paul McGee retweeted
my humble tribute to M.C. Escher's "Sky and Water"
82
1,736
95
10,777
316,671
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…
10
51
4
361
15,920
Paul McGee retweeted
Can you please delete this!?
This quoted post is unavailable.
999
18,104
233
288,617
17,865,971
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…
4
58
3
470
22,017
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…
15
20
3
392
22,178
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)
100
86
15
1,596
132,663
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…
355
1,211
104
9,947
561,464
Don't worry, it's all plant based 😂
769
5,479
788
35,420
3,663,696
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
7
27
2
156
10,704
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-…
18
134
9
746
43,855
Paul McGee retweeted
How to fold an origami flying bat
14
345
9
1,712
144,619