grahamking (@grahamking) profile picture

Complexity conqueror; computer programmer. Rust, Linux. @grahamking@mastodon.social

Portland, OR
Joined January 2008
Photo by grahamking (@grahamking)Photo by grahamking (@grahamking)Photo by grahamking (@grahamking)Photo by grahamking (@grahamking)Photo by grahamking (@grahamking)Photo by grahamking (@grahamking)Photo by grahamking (@grahamking)
I took ChatGPT on holiday and it was like having a magic translator and tour guide in my pocket. From translating menus to explaining art and wine, it made everything easier and more interesting. New blog post: darkcoding.net/society/trave… #TravelWithAI #ChatGPT #TechMagic
1
2
109
In Rust what does this really do? > vec![0u8, 1024] New blog post featuring memset's optimized assembly, mmap's zero-page shortcut, and why 0's are better than 1's. darkcoding.net/software/rust… #rust #malloc #assembly #linux
169
not moving at all.
11
158
20
475
143,535
Twitter, but you have to solve a leetcode puzzle every time you want to post something.
1
204
COVID broke out eight miles from the world’s leading laboratory for the study of novel sarbecoviruses. That alone should thwack the burden of proof over the philosophical net. But that’s only the start of the coincidences and anomalies. bigthink.com/health/covid-or…
13
87
4
316
grahamking retweeted
Legendary computational biologist Nick Patterson: "My readers will know that I believe that it is overwhelmngly likely that COVID-19 was a virus engineered in the Wuhan Institute of Virology (WIV), that escaped by accident."
35
211
35
580
Ever wanted to write a Huge Pages memory allocator for Rust, and learn about the importance of TLB misses? Now you can! New lab on perf-ninja: github.com/grahamking/perf-n… #rust #performance
1
2
John Carmack, Moxie Marlinspike, and Elon Musk geeking about leaf blowers. It's a beautiful world.
4
grahamking retweeted
PSA: Before copy-pasting a GitHub source code link, especially one that links to a line or line range, hit `y` to make the URL include the current commit hash. That way the link will keep working even if the file is later changed or moved/deleted. – at Los Angeles, CA
4
42
4
519
On the Ethereum Virtual Machine if you try to execute an invalid instruction it aborts your program and takes all your money ("all remaining gas is consumed"). Hardcore. github.com/wolflo/evm-opcode…
1
For the record, we don't WANT to name our servers `sjc2a-rs24-18b`. We would like to name them Italian wines or Lord of the Rings characters, but your insatiable compute demands leave us no choice. #SysadminsUnited #petsvscattle #sre
1
3