7 ms·
That's the wrong direction. What's needed are intelligent converters which convert less-strict languages to more-strict ones. Non-intelligent converters just m
by Animats 4y ago
That's the wrong direction. What's needed are intelligent converters which convert less-strict languages to more-strict ones.
Non-intelligent converters just make a mess. Here's c2rust.[1]
Classic C++ to modern C++, plus a compiler flag to lock out all the old unsafe stuff, would be an achievement.
[1] https://c2rust.com/ https://c2rust.com/
- taraharris 4y agoHave you actually watched the talk, or are you just giving us yet another ad for Rust? cfront helps C++ developers switch from less-strict C++ to a much safer, much improved syntax known as cpp2, which may in the future become part of the C++ standard. I like Rust well enough, but I'm simply not interested in abandoning C++ and all of the incredible stuff written in it just for the sake of theoretical purity and safety.