It's time to halt starting any new projects in C/C++
Unless he means that Rust should be used on projects where the Rust compiler is available for all relevant platforms and C and C++ can be used otherwise, I disagree.<p>In fact, until LLVM is replaced, C++ will probably be the language of choice for new languages. Even `rustc` requires a C++ bootstrap for that purpose.<p>There are also other important C++ and C libraries that will continue to mean C and C++ may be better choices than Rust in certain cases.<p>And don&#x27;t get me started on embedded.<p>Also, that doesn&#x27;t even matter when the purpose is a hobby project (such as mine) where the programmer has no interest in Rust (such as me).<p>I like how Trevor Jim put it [1] better:<p>&gt; If you decide to write your project in C&#x2F;C++ you must have a plan for handling the inevitable memory corruption in advance. Anything else is malpractice.<p>This is possible to do. I&#x27;ve released a non-trivial program that has had no known memory bugs ever since 1.0 on 2018-10-26. It is written in C. And I challenge anyone to find one in any release since then. You might find one, but I think it will be tough.<p>In other words, it&#x27;s possible to put C and C++ on the same footing as Rust when it comes to memory bugs; after all, even Rust is not perfect there.<p>Yes, it takes more effort. A <i>lot</i> more effort. For my hobby projects, that works fine because I&#x27;d rather work in C with the extra effort than in Rust.<p>Oh, and it&#x27;s possible to make C as good as Rust: I&#x27;ve got macros to do automatic bounds checking. I&#x27;ve got RAII and stack traces. I&#x27;ve got structured concurrency, which will give the same capabilities as the Rust borrow checker if you adjust your coding style. And all this in portable C11.<p>So no, Rust is not the end-all be-all of languages. Sorry.<p>Rant about absolutist opinion over.<p>But seriously, use Rust if it&#x27;s available for your target platforms, and you have no other preference.<p>[1]: <a href="http:&#x2F;&#x2F;trevorjim.com&#x2F;using-an-unsafe-language-is-a-design-flaw&#x2F;" rel="nofollow">http:&#x2F;&#x2F;trevorjim.com&#x2F;using-an-unsafe-language-is-a-design-fl...</a>