Ask HN: Low-level programming besides C and Rust
I've been programming in C (and to a lesser extent C++) for a long time, so there's always that.
I've looked briefly at Rust here and there. I have previously tried to wrap my brain around Haskell, with limited success, and never really got comfortable with it. It seems like really grokking Rust will be a similar effort.
Is there anything else in the low-level embedded space that might be suitable?
I'm mostly concerned about simplicity and safety. I'm willing to trade some verbosity for tight and efficient generated code.
Edit: I also also add I'm thinking I should stay away from garbage-collected languages, since this is intended for low level operating system development. I don't know if adding in real-time requirements is a good idea, but I wouldn't want to close off that possibility either.
7 comments
[ 3.1 ms ] story [ 30.1 ms ] threadhttps://dlang.org
or
https://nim-lang.org
I hadn't really looked closely at Nim before, but it is garbage-collected too, so I don't think that's going to work.
That's interesting.
Nim compiles to C, so it doesn't look like it would require much in the way of porting. I'll take a closer look at that too.
https://en.wikipedia.org/wiki/SPARK_(programming_language)