* Posts by davoy

2 publicly visible posts • joined 17 Jul 2023

The US government wants developers to stop using C and C++

davoy

Re: Safe C++

You're right !

Safe C++ will gain traction as this is on everyone's table right now. The effort of moving to Rust would me massive in all respects. Safe C++ will allow a gradual and this is important, in-place upgrade of existing code on a per module or even per section basis.

I also believe that C++ would have been a way better language for additional inclusion in the Linux kernel than Rust. It would have allowed a slow, rupture-free transition without api-bridges, drama and duplicated effort. Even the smallest C++ subset using only RAII with guaranteed destruction on scope-end would have been a huge benefit. No need to use exceptions, new/delete, templates or the STL. Heck, C doesn't even have references.

After a switch to a C++ compiler this new subset could have been introduced anywhere in the code, existing or new without having to have an api, separate tool-chain, etc. No drama, no hassle, immediate benefit.

So yes, i'm with you. Rust will be remembered as the language that inspired C++ to become safer.

Microsoft kicks Calibri to the curb for Aptos as default font

davoy

Know what's even weirder ? Getting a comment from someone who is currently living there !!! Crazy. So you moved to Frauenstein ?