Threadwell
Search
Search
Dark mode
Light mode
Reader mode
Explorer
Recent Notes
Threads
Aug 25, 2026
archive
nicbarkeragain
Aug 25, 2026
archive
twitter
nicbarkeragain
vkrajacic
Aug 25, 2026
archive
twitter
vkrajacic
valigo
11 items with this tag.
Aug 25, 2026
valigo
archive
twitter
valigo
Nov 17, 2025
People who say "C is modern-day assembly" usually way undershoot it.
archive
twitter
valigo
Nov 17, 2025
When it comes to pointers, "just use 64 bit integer" is way more intuitive to me.
archive
twitter
valigo
Nov 25, 2025
@valigo Interestingly, if you try to write Rust in this way, pointer provenance will cause misoptimizations that break everything.
archive
twitter
valigo
Nov 18, 2025
@valigo Wouldn't this make working with arrays more difficult? Array[1] would have to be Array[sizeof(data)] etc
archive
twitter
valigo
Nov 18, 2025
It is confusing if you aren't used to it, that is true.
archive
twitter
valigo
Nov 18, 2025
@valigo Pointer arithmetic based on type sizes makes sense when considering aligned load/store memory operations.
archive
twitter
valigo
Nov 18, 2025
@valigo For real I'm parsing through a binary array and trying to say "the next byte is a uint8_t, the next two bytes are a uint16_t" and the most elegant way to do it is mind-numbingly ugly pointer bullshit.
archive
twitter
valigo
Nov 18, 2025
@valigo I had the displeasure of being exposed to Hex-Ray’s decompiler for years so I have gotten used to it, but it is annoying ye…
archive
twitter
valigo
Nov 17, 2025
@valigo @NOTimothyLottes If this is not Timothy Lottes then who is it?
archive
twitter
valigo
Nov 17, 2025
@valigo His style goes a bit beyond that, judging by the defines used it’s similar to some form of literate programming but with C preprocessor.
archive
twitter
valigo