2 ms·
C is simple is a myth. Sure it's simple in a sense there are not many keywords or features. And you can learn it over a weekend and start programming in it. Bu
by unionpivo 5y ago
C is simple is a myth.
Sure it's simple in a sense there are not many keywords or features.
And you can learn it over a weekend and start programming in it.
But when you factor in undefined behavior, straight up user hostile choices done by common compilers in the name of performance, common patterns/library functions (that are all over books and stackowerflows) to avoid etc. C is not that simple anymore.
When you throw in concurrency, programming in C is quite hard.
I write this because I used to be an embedded C programmer, but that was over 10 years ago. I can still read code, sometimes even add simple patches (not to kernel ), so you could say I know the language. But it would take me several months of focused training before I would even dare to touch something as linux kernel.
Not saying that Rust is simple, just saying C isn't as simple as some people make it.