by jokoon · 11y ago · 0 comments
System languages need to be stupidly simple and lack complexity.
One thing that could improve on C, might be very simple things like (immutable?) string as a native type, hashmaps, lambdas, etc. I would love to see some pythonic stuff into C.
Languages NEED to be simple if you want students to be able to learn them. That's what makes the success of C and makes it irreplaceable.
Although I would gladly something like Rust become relevant, if it's backward compatible with C ABIs, why not. But since ecosystems are already divided, I would like to see language dividing things even more.
I think C is a lot harder to grasp. e.g. manual memory management, dangling pointers, unchecked casts, etc.
> One thing that could improve on C, might be very simple things like (immutable?) string as a native type, hashmaps, lambdas, etc. I would love to see some pythonic stuff into C.
Have you used Go? It has all of those things...