3 ms·
Finally an article I can agree with. C is great mostly because it's easy to learn, and it has many other advantages. I dislike all those new languages because
by jokoon 4y ago
Finally an article I can agree with.
C is great mostly because it's easy to learn, and it has many other advantages.
I dislike all those new languages because they have too many features, and they're non trivial to learn.
I've looked at some rust codebases and I don't think there will be a lot of people who will want to maintain them. Rust is difficult, even though it's an awesome language.
A language that could compete with C would:
* Be fast to compile
* Have some quality of life things you can find in the C++ STL: map, string, etc
* Look a lot like C, meaning it would not try to innovate too much.
To summarize, it would be a lighter version of C++.
- bruce343434 4y agoGo?
- voidhorse 4y agoActually, yes. Go does a lot of the things everyone seems to want in these C replacements, the problem is that it has GC which, to a lot of people, automatically disqualifies it as an option for writing certain kinds of software you can write with manual memory management. A lot of people also tend to think they need manual memory management for $reasons when GC is actually fine.
- jokoon 4y agowithout a GC
- xigoi 4y agoZig? Odin?
- xigoi 4y ago> easy to learn What exactly do you mean? Learn the basics? Become productive? Memorize the entire specification? I'd argue C isn't significantly faster at any of these than most other languages.
- jokoon 4y agoIt can be learned quickly, it's very readable, and taught to students without too much pain, and beginners can become productive with it. The "difficulty bar" must be low. This is why english is a popular language. > I'd argue C isn't significantly faster at any of these than most other languages. Yes it is. It has a lot of flaws, but it's popular for all those other reasons.