Live data from Hacker News

Ask HN: Are there any good reasons to use C++ over Rust for new projects today?

news.ycombinator.com

91–92 of 92 posts

Re: Ask HN: Are there any good reasons to use C++ over Rust for new projects today?

#91

I am a retiring engineer/entrepreneur. I made a lot of money with C++. It is hard for me to tell anyone not to use it. I recently developed an oil and gas derivative tool in Rust. IMO Rust has a long way to go. It reminds me of OCaml. I spent 2 years developing a Compliance System on DEC/OSF1 in OCaml. We made the mistake of adopting that language too early. Also, the C++ community is a lot more tolerant. A big plus…

can you share more about how/at what type of jobs you made a lot of money with c++?

Re: Ask HN: Are there any good reasons to use C++ over Rust for new projects today?

#92
post #89

Earlier quoted context omitted.

Rust has channels built in. In fact, the std channels were recently rebuilt on top of the excellent crossbeam crate. Function colors is kind of a meme but maybe-async functions are coming. https://lib.rs/tokio is king for std environments, https://lib.rs/embassy for no_std.

Yes, MPSC, single consumer which is limiting.

Oh.

    cargo add crossbeam-channel
Post reply on HN