3 ms·
>> To me, the most promising alternative to C are actually alternatives to GCC and Clang, which don't use "undefined behavior" as a wanton license to rewrite yo
by thesuperbigfrog 6y ago
>> To me, the most promising alternative to C are actually alternatives to GCC and Clang, which don't use "undefined behavior" as a wanton license to rewrite your program to do whatever they feel like at the time.
That's one of the biggest issues with C and C++: Undefined behavior is in the standards, so compilers can do whatever they want which can be problematic.
>> The other most promising alternative to C is just doing it more conservatively.
There are other programming languages besides C, C++, and Rust which target low-level and embedded targets. Ada or SPARK might be options depending on your needs and targets.
>> Aside: I'm working on a new programming language which I hope will be interesting with respect to these ideas. It's being kept private while it's under development, but anyone who is interested in this problem space should shoot me an email if they want to hear more.
That sounds very interesting. I look forward to seeing your ideas in the future.