Mara posted a fantastic article about Converting u128 values to f64 (unsigned 128-bit integers to 64-bit floating-point numbers), give it a read!
I couldn't find a tree-sitter grammar for x86 assembly... so I made one! https://github.com/bearcove/tree-sitter-x86asm
It supports Intel syntax only, some NASM idiosyncrasies, and understands objdump output.
It's live on my site, see for example https://fasterthanli.me/series/making-our-own-executable-packer/part-3#in-which-we-relax-the-rules-of-the-series-a-tiny-bit
There's 300+ of you supporting the creation of my articles and videos!!
To celebrate, I bestow upon you the top 2 requested features for my website, and two little things I really wanted to do for myself.
You're welcome! I mean, thank you so much!!
this is my favourite kind of bug https://support.google.com/docs/thread/162510194/including-and-and-and-and-and-in-a-google-doc-causes-it-to-crash?hl=en
USB-C Ethernet adapters breaking networks with pause frames
https://www.reddit.com/r/UsbCHardware/comments/qo6r3f/comment/hjm5agq/
(I tweeted a friend link of this video last week already, that gave access for 48 hours, but now it's truly out for everyone, enjoy!)
Getting good at SNES games through DLL injection
https://fasterthanli.me/videos/getting-good-at-snes
Join me on a casual journey to not have to switch from controller to keyboard when playing SNES games, by injecting some Rust code in Snes9X instead of just using another emulator ✨
The most promising of these IMO is Crystal. Its syntax is inspired by Ruby, but it's statically typed and ahead-of-time compiled with LLVM. Unlike Go, it has sum types which are used to represent nil-able values, like Rust's Option<T>. Like Go, it has a garbage collector, and uses green threads and channels for concurrency.
https://crystal-lang.org/
✨ I won free load testing!
My website was DDoS'd this week. Why wasn't my website resilient in the first place? Why didn't Cloudflare's DDoS protection kick in?
All this and some Rust code (I've made some changes) in the full post-mortem:
hi, I'm amos! 🦀 I make articles & videos about how computers work 🐻❄ cool bear's less cool counterpart ✨ be kind