3 ms·
I like C better than every other language... for some of the same reasons. Mind, I'd prefer assembly but it's inconsistent between different versions of the sa
by teunispeters 4y ago
I like C better than every other language... for some of the same reasons. Mind, I'd prefer assembly but it's inconsistent between different versions of the same processor, let alone different processors ...
I CAN code in a lot of languages. The only one I have no interest in ever revisiting is PHP. I rather dislike java's bytecode but the language itself is somewhat ok.
But I prefer C. Not just due to "bare metal", but also because it's fairly easy to communicate with other hardware.
I'll note - when multiple different hardware is involved, you'll never get "safe code". Not unless the hardware is "safe" too. I think the thing I'm wary about rust about is how much its claims depend on the underlying hardware being consistent, reliable and stable.
But - I'll use whatever tools employers or contractors need. I think the hardest language for me is C++ - as above - because it's so "flexible" (and hides so much under the water) that it takes rather a lot of investment to learn every new stack.
I use C on my own projects. I've yet to see a good argument to explore another option and still maintain consistency with communicating with disparate hardware.