News for hackers. Stuff that matters.
Re:Show HN: Spot – Simple, cross-platform, reactive desktop ... by mappu on Friday May 24, 2024 @07:09PM (#40471283)
You can cross-compile Cgo, you "just" need a C compiler and linker that works for the target platform. osxcross, xgo have some or maybe you can set CC=zig cc.

For macOS you need signing/notarization tools either when building natively or when cross-compiling, it's not any different. `rcodesign` has made this process much easier in recent years.

Re:Show HN: Spot – Simple, cross-platform, reactive desktop ... by apitman on Friday May 24, 2024 @07:45PM (#40471472)
+1 for `CC=zig cc`. Feels like magic