4 ms·
Yeah it was a really odd choice of a "why not Rust" bug since the problem with Rust in that bug applies entirely to Zig as well. So if you can't use Rust becau
by kllrnohj 5y ago
Yeah it was a really odd choice of a "why not Rust" bug since the problem with Rust in that bug applies entirely to Zig as well.
So if you can't use Rust because it doesn't have the broad compiler support that C does, you almost certainly can't use Zig either for the exact same reason. And then the article touts Zig using their own in-house linker, which seems inevitable to have less platform support than LLVM will? Zig isn't wrong for doing that, but you can't claim that's a benefit at the same time the problem with Rust is it's lack of fringe system support... :/
- kristoff_it 5y ago> which seems inevitable to have less platform support than LLVM will? ZLD can link for M1 while LLVM can't yet. And Zig can also use lld alongside it to increase the platform coverage. > but you can't claim that's a benefit at the same time the problem with Rust is it's lack of fringe system support... :/ I find it hard to believe that a dispassionate reader could misinterpret to this degree the goal of a sentence written in a chapter dedicated entirely to showcase the limits of rewriting code in another language, be it RIIR or RIIZ. See my reply to the parent comment for the intended meaning of that example.