News for hackers. Stuff that matters.
Re:Zig's New Relationship with LLVM by alexhutcheson on Monday September 28, 2020 @12:53PM (#24618679)
The low cost of porting a C toolchain to a new platform is a feature of C. Arguably, it's one of C's two remaining "killer apps" that keep it in use. The other is that C is the "universal recipient" language for FFI - it's easy to call C functions from almost any other language (but not vice-versa).

It's currently much more expensive to port an Ada, Rust, or even C++ toolchain to a new platform, so I'd expect C to continue to be dominant on lower-spec chips. Here's a previous comment adding a bit more technical detail to that argument: https://news.ycombinator.com/item?id=22822931

Re:Zig's New Relationship with LLVM by pjmlp on Monday September 28, 2020 @12:58PM (#24618748)
The universal recipient for FFI is mostly a thing in UNIX like OSes, not so much on others.
Re:Zig's New Relationship with LLVM by int_19h on Monday September 28, 2020 @02:02PM (#24619496)
It's similarly true on Windows - not everything supports COM.
Re:Zig's New Relationship with LLVM by pjmlp on Monday September 28, 2020 @02:10PM (#24619578)
There are more OSes out there.
Re:Zig's New Relationship with LLVM by alexhutcheson on Monday September 28, 2020 @01:04PM (#24618823)
Fair. So maybe C only actually has 1.5 killer features left, not 2.