News for hackers. Stuff that matters.
Re:Ask HN: Will Rust be as popular as Go or C++? by jstewartmobile on Wednesday September 20, 2017 @10:52AM (#15294368)
I'll quibble back several things:

Clojure has immutability on top of atoms/refs/agents, so while Rust is doing Nerf mutation with the borrow-checker, Clojure avoids it in the first place.

That, and generally I think threads are overused. Mostly because spawning a new process has been needlessly slow in the past (especially on Windows). Even in C-land, I've seen so many cases where forking and IPC would be more than fast enough, yet far safer.

And getting back to the hardware aspect, having a single thread and a badass SIMD instruction is usually faster and easier to reason about than multiple threads and general-purpose instructions where your performance gets fetch-execute-cache-hierarchy-memory-bandwidthed to death.

Worst of all, I think this entire mode of computing survives primarily due to marketing reasons. Explaining how something works smarter rather than harder is a difficult sell. Printing "MORE CORES!" "MORE GIGAHERTZ!" on a brochure is an easy and effective way to make the sale.

Re:Ask HN: Will Rust be as popular as Go or C++? by burntsushi on Wednesday September 20, 2017 @01:07PM (#15296012)
> And getting back to the hardware aspect, having a single thread and a badass SIMD instruction is usually faster and easier to reason about than multiple threads and general-purpose instructions where your performance gets fetch-execute-cache-hierarchy-memory-bandwidthed to death.

ripgrep benefits from both having multiple threads and badass SIMD instructions.

Re:Ask HN: Will Rust be as popular as Go or C++? by oconnor663 on Wednesday September 20, 2017 @11:07AM (#15294551)
All fair :)