4 ms·
> As far as I can tell, there isn't anyone on the face of the planet trying to build anything like C in order to replace it. To the best of my knowledge this i
by matt_daemon 4y ago
> As far as I can tell, there isn't anyone on the face of the planet trying to build anything like C in order to replace it.
To the best of my knowledge this is what Zig is trying to do.
https://ziglang.org/ https://ziglang.org/
- andrewmcwatters 4y agoThank you for mentioning this! I wonder if Zig is the closest modern thing to C that we have? D seems to not want to fill the ANSI C role. Walter Bright seems to be a bright guy, but I want a programming language that follows the philosophies embodied and manifested in C. You can sort of get the idea that the guys behind Go roughly had this sort of Unix-esque philosophy mentality, but they never come out and explicitly say it[1][2], and so I think it wasn't an explicit goal for them. [1]: https://go.dev/blog/5years https://go.dev/blog/5years [2]: https://commandcenter.blogspot.com/2012/06/less-is-exponentially-more.html https://commandcenter.blogspot.com/2012/06/less-is-exponenti... Edit: Hahaha, I didn't catch myself with the "bright" thing.
- hgs3 4y agoI've only toyed around with it, but D does offer the -BetterC flag [1] FWIW. [1] https://dlang.org/spec/betterc.html https://dlang.org/spec/betterc.html
- WalterBright 4y ago> Walter Bright seems to be a bright guy I had to change my born name from Walter Dummkopf.
- WalterBright 4y ago> I want a programming language that follows the philosophies embodied and manifested in C I don't really know what is missing on that front in DasBetterC. D can call any C code directly, D even has a built in assembler. D can import C code. And you can program free of the depredations of the C preprocessor.
- WalterBright 4y ago> I didn't catch myself with the "bright" thing. When my dad was in the Air Force, the commander assigned Major Smart to be his office mate, for the sole purpose of putting "Bright & Smart" on the door. He figured nothing could go wrong in that department.
- Tozen 4y agoThe problem is that alternatives to C can be built, it's a matter that its usage will become so widespread that it will be viewed and used as a replacement. Lots of people keep viewing C as just another language, versus it being a quasi protocol that other languages communicate through and defacto standard. Zig is still in beta and has to reach 1.0, to even realistically enter such discussions (like you can with Rust), and it appears to be years away from achieving even that. C is at the top of the ladder, and Zig is around the bottom, trying to climb up. Zig is not even on many language rankings or at the bottom of them. It's not even anywhere near the top on just GitHub rankings, even when adjusted for year creation date. The odds of making it to the top 5 languages used and widespread acceptance are very slim, no matter how much forced hype, zealotry, or evangelism.