A while loop destructuring the middle elements of a vector -- remarkably elegant! https://www.reddit.com/r/rust/comments/7a9w1c/rust_is_now_an_official_part_of_stanfords/dp8azv3/ (rust)
miniblog.
Related Posts
Lisp is the only language I've seen where it's idiomatic to have some locals scoped to the *middle* of a function. It's a consequence of let blocks.
It's neat, but I rarely miss it elsewhere. I'm happy with "scoped from here to the end of the block" in e.g. C or Rust.
Finding bugs in LLVM IR optimisers: programmatically generate small (loop free, no control flow) functions, run your favourite middle end passes, and verify the output is equivalent!
https://blog.regehr.org/archives/1510
(Uses Alive to verify and 4000 CPUs of compute.)
Is The Tech Market Hitting Middle Age? https://techpinions.com/is-the-tech-market-hitting-middle-age/41585 Interesting piece that argues hardware platforms will change less in future.
