News for hackers. Stuff that matters.
Re:Lies we tell ourselves to keep using Golang by formerly_proven on Friday April 29, 2022 @02:26PM (#31208940)
> it's very powerful and I don't know a single language that does it out of the box like go does.

zig build -Dtarget=x86_64-windows

Re:Lies we tell ourselves to keep using Golang by Thaxll on Friday April 29, 2022 @02:30PM (#31208978)
I'm talking about mainstream language not stuff in dev. And go has been doing that for 10years+
Re:Lies we tell ourselves to keep using Golang by kristoff_it on Saturday April 30, 2022 @06:17AM (#31214802)
well, not exactly. Zig is also crosscompiling C/C++ code, not just Zig. CGo doesn't do cross-compilation.