←back to thread

305 points todsacerdoti | 2 comments | | HN request time: 0.001s | source
Show context
robertknight ◴[] No.44061261[source]
Good post! The inefficient code for comparing pairs of 16-bit integers was an interesting find.
replies(1): >>44061353 #
ohr ◴[] No.44061353[source]
Thanks! Would be interesting to see if Rust/LLVM folks can get the compiler to apply this optimization whenever possible, as Rust can be much more accurate w.r.t memory initialization.
replies(3): >>44061438 #>>44061766 #>>44062908 #
1. Ygg2 ◴[] No.44061438[source]
Would be great, but wouldn't hold my breath for it. LLVM and Rustc can be both be kinda slow to stabilize.
replies(1): >>44062260 #
2. pornel ◴[] No.44062260[source]
It varies. New public APIs or language features may take a long time, but changes to internals and missed optimizations can be fixed in days or weeks, in both LLVM and Rust.