News for hackers. Stuff that matters.
Re:Ask HN: What is the state of C++ vs. Rust? by vvanders on Wednesday October 19, 2016 @12:11PM (#12745074)
I don't think you can unequivocally dismiss Rust, we've seen Dropbox and other companies pick it up(just yesterday Facebook announced a Mercurial alternative written in Rust).

As with each case, it depends. If you've got a well scoped project that is happy with a C ABI(or just stand alone exec) I think there's a compelling case for Rust.

I'd also argue if you're looking for top candidates having Rust in-house could be a perk rather than a negative.

Re:Ask HN: What is the state of C++ vs. Rust? by blub on Wednesday October 19, 2016 @02:03PM (#12746127)
I specifically said industry because projects come and go.

Yes, there are dozens of companies doing some project in Rust. That's true for almost any programming language.

I am guessing that it's going to be another 5-10 years until I would need to seriously consider learning Rust, assuming it will be able to break into the mainstream.

Safety-wise it could make sense for my industry, which seems to be overwhelmed by C and C++ (see Toyota).

Re:Ask HN: What is the state of C++ vs. Rust? by vvanders on Wednesday October 19, 2016 @05:08PM (#12747670)
Industry is great if you want to make safe, slow bets. PG's essay on lisp is a great example of why you may not want to follow industry.

However, the point I was making is there's not a binary switch between C/C++/Rust. There's a great interop/FFI story that allows a targeted/gradual adoption.

Re:Ask HN: What is the state of C++ vs. Rust? by taneq on Thursday October 20, 2016 @08:52AM (#12751778)
I know it's kind of hallowed ground around here, but IMO that essay has one of the highest ratios of survivor bias to good advice that I've ever seen.
Re:Ask HN: What is the state of C++ vs. Rust? by FreeFull on Wednesday October 19, 2016 @12:19PM (#12745146)
To be more accurate, they didn't announce an alternative to Mercurial, but rather new Mercurial server software.
Re:Ask HN: What is the state of C++ vs. Rust? by vvanders on Wednesday October 19, 2016 @12:20PM (#12745157)
Yup you're right, I should have been a bit more explicit there, meant to say backend replacement.