3 ms·
> That's it. One more command than Zig or Go, to install the toolchain you need, and then you're off to the races. Except it's not the same. Zig also cross-co
by coder543 5y ago
> That's it. One more command than Zig or Go, to install the toolchain you need, and then you're off to the races.
Except it's not the same. Zig also cross-compiles C code beautifully, and lots of Rust code depends on C libraries. That "one additional command" does not solve cross compilation to an equivalent degree as Zig.
Go code tends to avoid C because of the heavy penalty that CGo imposes, so the cross compiliation experience is usually good there, but for different reasons than Zig.