3 ms·
> Why mess with it at all? It's portable assembly. At your level and mine, it looks like portable assembly. At the level of the OP and the compiler implementat
by gmfawcett 5y ago
> Why mess with it at all? It's portable assembly.
At your level and mine, it looks like portable assembly. At the level of the OP and the compiler implementations, it is absolutely not.
> Instead of saving C, why not improve Rust and JavaScript and the others?
"Platform effects" is a pretty complete answer. C isn't going anywhere soon. You and everyone here depends upon a mountain of C code every day.
- eternityforest 5y agoA mountain of old C that's still maintained because it's universal and ubiquitous. There's a few possible transition paths though. Like a backwards compatible strict superset or conversion tool. The sooner other languages mature, the sooner we can stop writing new projects that use large amounts of C.
- pjmlp 5y agoLike UNIX clones....so easier said than done.
- whatshisface 5y agoThe Zig compiler can compile C and seamlessly interoperates with it.
- gmfawcett 5y agoZig is an impressive power-tool. A mighty earth mover! Now, relocate Everest. :)
- eternityforest 5y agoThe trouble with Zig is that it seems to be far too much like C, especially at the moment. Like, look at all the stuff it can't catch, that Rust can. If we incrementally evolve like that, it might take 50 years to get to the kind of environment that Rust seems to be aiming for, where everything is safe and high level abstraction are cheap and available anywhere, and we have official package management.