5 ms·
Clearly what you want is something other than C.
by throwaway999888 11y ago
Clearly what you want is something other than C.
- tormeh 11y agoAda, and recently Rust, for example. People trying to improve C are sad to watch. People use C because they have an irrational belief in their own faultlessness. Same reason people are afraid of flying but not driving. Selling a correctness-enhancing tool to these people is an impossible task.
- nraynaud 11y agoI recently tried to use Ada, that ended in sadness. I couldn't try Rust, because it doesn't (didn't?) run on arm-none-eabi.
- steveklabnik 11y agoRust should work on `arm-none-eabi` to my knowledge. We don't provide packages out of the box, but people have done it. You need to set up the right target specification, and then it should work.
- nraynaud 11y agoPossible, I don't remember the details. It might also be that setting up a cross compiling toolchain by hand was not exactly how I intended my first contact with a new language be (I had set up a cross compiling GCC, then a cross compiling Ada that ended up in a linux simulator, I might have lazied on the rust test).
- steveklabnik 11y agoYeah, it's not ideal. We are actively working on making it easier to do these kinds of things; it's not well documented, to be honest.
- vezzy-fnord 11y agoPeople trying to improve C are sad to watch. Cyclone had a fighting chance once.
- throwaway999888 11y agoIt's like motorcyclists wanting to convert their ride to something safe that their new family with small children can use for their next vacation... they're thinking of solving the problem at the wrong level. The foundations are fundamentally flawed for what they're trying to do. But I guess the real problem is that C is too established in resource- and predictability-constrained domains.
- Gibbon1 11y agoWhat is sad to watch is the binary sizes blowing up and long tail latency due to garbage collection. I think Rust is the only thing to come along in about 30 years that stands a chance.
- nraynaud 11y agoagreed, another "not quite C", something where you can control what happen when you multiply 2 integers, something where you can control bit banding, memory mapped registers, float behavior, etc. All with sane defaults.