Re: [Thought experiment] Bringing swift into an experimental branch?
Date: Tue, 17 Jun 2025 06:12:45 UTC
On 17/06/2025 00:37, Rozhuk Ivan wrote: > > No modern language required, even C++ is to complex to learn it. > C just works, like it work 30-40 years ago. > All can be done on C. > > All modern today become unmodern in 5-10 years and it will require many > man power to support it. I don't think that "do nothing" is a viable option. Until Trump came with slash and burn libertarian anti-regulation ideology the world was heading to much stronger regulation for safety and security. C is simply a basket case. It is hopelessly inadequate for ANY safety or security mitigations. I don't believe that the C standard will add anything that will change that significantly - there are some proposals but my view is that either they don't go far enough or they won't be accepted. The advantage with these "complex" languages (specifically Rust but also other languages like Swift, Zig, Hylo and C++) is that either they already have builtin safety or they have enough "meta" that they can be extended to add safety. That said, there's a lot more to safety and security than just the code. Rewriting millions of code of unsafe C that has been hardened by decades of work to plaster over the CVEs is just going to lead to a rash of new exploits and crashes. A+ Paul