miniblog.
← Back to all posts
Jul 24, 2014 at 22:16
A kilobyte is 1024B, except when it's 1000B. A word is 32-bits on a 32-bit arch, except x86. I thought programmers eschewed ambiguity!
Wilfred Hughes
Related Posts
Sep 10, 2024 at 06:11
TIL Rust has an ambiguity `if Foo {}` -- is `Foo` a value of type bool, or a struct? Rust solves this by defining a grammar production 'any expression except struct literals' and using it in this position.
0092-struct-grammar - The Rust RFC Book
rust-lang.github.io/rfcs/0092-struct-grammar.html
Wilfred Hughes
Shared words: ambiguity, except Score: 41.7
Feb 9, 2017 at 20:39
32-bit x86 Position Independent Code - It's that bad
https://ewontfix.com/18/
(makes a compelling argument for private-by-default I think)
EWONTFIX - 32-bit x86 Position Independent Code - It's that bad
ewontfix.com/18/
Wilfred Hughes
Shared words: x86, bit Score: 33.8
Dec 5, 2016 at 10:21
Excellent, friendly introduction to reading x86 assembly:
https://patshaughnessy.net/2016/11/26/learning-to-read-x86-assembly-language
(I wish I'd had this when I started!)
Learning to Read x86 Assembly Language - Pat Shaughnessy
patshaughnessy.net/2016/11/26/learning-to-read-x86-assembly-language
Wilfred Hughes
Shared words: x86, when Score: 28.7