3 ms·
Yes, C++20 has concepts and modules, the latter still finding its way into production compilers. The story around promoting Rust over C++ has aged badly. Parro
by ncmncm 4y ago
Yes, C++20 has concepts and modules, the latter still finding its way into production compilers.
The story around promoting Rust over C++ has aged badly. Parroting arguments that seemed persuasive in 2015, when most people had not even got C++11, taints your argument. People coding modern C++ don't spend time on memory errors, so promoting that detail of Rust makes you seem out of touch, and other statements doubtful. C++ has got markedly more powerful of late, in ways not matched in Rust.
This remark, "FFI is painful with ... C++" is frankly nothing short of bizarre.
To win over people coding modern C++, you will need to explain how giving up the powerful features C++ programmers are accustomed to using, but cannot in Rust, will make a better experience anyway. You might need to learn something about those features to have something to say.
- kaba0 4y agoI find your comment quite arrogant, there was really no need to call out the parent poster’s knowledge, especially when he/she only gave some counterexamples. Also, modern C++’s move/copy semantics are exactly what Rust enforces at a language level, instead of only making it a “suggestion”.