Zig makes Golang complete #golang #zig #development #developer #webdevelopment #compiler

preview_player
Показать описание
Go compiler can't make static binary and cross compile in a CGO project. But Zig language helps Go compiler to statically compile C libraries and hence build a static and cross compilable binary.

You have to set CC and CXX environment variable. I am showing the options to build static binary in a Linux machine.
Рекомендации по теме
Комментарии
Автор

Great video :)
I'll just say that it would help to have the subtitles higher up - the YouTube overlay hides them!

dylancode
Автор

C will still the dominant no matter what!

rouisaek
Автор

I don't understand what you want to tell me with this video. I know you can compile c code with zig to any platform but what does that have to do with go?

requestfx