Subj : US White House urges devs to dump C and C++ To : Digital Man From : Nightfox Date : Thu Feb 29 2024 07:27 pm Re: US White House urges devs to dump C and C++ By: Digital Man to Nightfox on Thu Feb 29 2024 01:43 pm DM> There is no single programming language that is the best tool for DM> everything. For systems programming (OS kernels, device drivers, DM> firmware), C and C++ are still tools of primary choice (though Rust is DM> making some inroads here). But if I were to develop just about anything DM> else that lives, privacy/security, or business operations depended upon, DM> I'd use a managed language/environment. I suppose it would make sense to use a managed language/environment. In some of the newer C++ standards, they've introduced some classes that are meant to help manage memory better for you though, suchas shared_ptr, unique_ptr, etc.. I've heard people say you can avoid using new & delete (or malloc() and free()) and use those managed pointers instead. I think another issue can be buffer overruns though, and I don't recall offhand if a managed language normally protects against that. In a quick Google search, I found a page where someone said buffer overflow exploits are possible in C#, though it's harder to produce them in C#. Nightfox --- SBBSecho 3.20-Linux * Origin: Digital Distortion: digdist.synchro.net (21:1/137) .