Comment

Comment by thesuperbigfrog

>> is there ever a case for doing a project in C++ (outside of being forced by the platform you’re working on or anything outside your control)?

No.

That is part of the reason why so many big companies (Google, Microsoft, Amazon, etc.)[1][3][4] are pushing ahead on Rust adoption and large government agencies[5][6] are recommending memory safe languages over C and C++.

Google did a study and found that their Rust developers were twice as productive as their C++ developers [2].

Rust should be preferred over C++ unless you have no other choice.

[1] https://thenewstack.io/google-spends-1-million-to-make-rust-...

[2] https://www.theregister.com/2024/03/31/rust_google_c/?td=kee...

[3] https://www.theregister.com/2024/01/31/microsoft_seeks_rust_...

[4] https://blog.qwasar.io/blog/why-is-rust-growing-and-why-do-c...

[5] https://www.nsa.gov/Press-Room/Press-Releases-Statements/Pre...

[6] https://www.whitehouse.gov/wp-content/uploads/2024/02/Final-...

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton