5 ms·
C gives you a level of control and responsibility not found in other languages. That's a choice, not something that is inherently worse. It may be worse for wha
by quelsolaar 3y ago
C gives you a level of control and responsibility not found in other languages. That's a choice, not something that is inherently worse. It may be worse for what you are doing. Most people don't value the level of control that C gives you and would rather chose another language and that is fine. But having a language available with this level of control is valuable, even if few people chose to use it. Most UB in the C standard is there for a very good reason.
- kaba0 3y agoC is not a particularly low-level. It has no (standard) way to control vectorization, stack usage, calling conventions, etc. It just had an insane about of money spent on making its compilers optimize better.
- quelsolaar 3y agoYou are right, but no language has tried to claim the space of giving the user more control, so C remains the lowest level language we have that is portable. I think there are lots of opportunities in this space, but i don't know of anyone working on it.
- kaba0 3y agoC++, Rust, Zig all are lower level, due to having control over vectors.
- pjmlp 3y agoWhatever people it is C for low level coding, in reality are compiler specific language extensions, not available on ISO C. All languages can have such specific extensions and many do.