TIL that making an ABI mistake can cause segfaults in Rust, without unsafe or warnings!
miniblog.
Related Posts
I've been experimenting with LLM autoresearch. I prompted Sol to make difftastic faster without changing output on the test suite, and log everything it tried:
https://github.com/Wilfred/difftastic/blob/c6e9c6fed4c71276a8b0e377c92695c3d929dc7f/PERF_RESEARCH_LOG.md
It found some interesting performance tweaks, although it's too tolerant of complexity.
Bevy has an amazing approach to code review that requires two reviews by the community before a maintainer will review and merge.
"We let anyone submit PRs without vetting: why is the bar higher for reviewing?"
https://shaping.systems/blog/open-code-review/
The literal 0xffu8 in Rust is pretty tricky to read without syntax highlighting. It looks like a plain hexadecimal value at first.
(Why not have syntax highlighting? Ironically I was debugging and improving VS Code's Rust highlighting.)