2 ms·
You need to be more specific about what you are looking for: user-choice safety (i.e., a convenient way or a library for users to do most of the things that C d
by ptero 8y ago
You need to be more specific about what you are looking for: user-choice safety (i.e., a convenient way or a library for users to do most of the things that C does in a memory safe fashion, which is not enforced by the language / compiler), enforced safety or something else. Depending on this choice the arguments and benefits for it might be different.
That said, IME new C projects (not maintaining old monsters, for which a new language or library will not help) are mainly small components or libraries where you need to be close to hardware. In those cases, it might be better to reap benefits of being simple, clean and close to problem domain (hardware) and mitigate dangers by keeping the C code small, modular and clean.
Not criticizing, just asking an honest counter-question: what for (use cases)?