News for hackers. Stuff that matters.
Re:HTTP/3 is everywhere but nowhere by artimaeis on Monday March 17, 2025 @10:31AM (#43389002)
I'm a dabbler in Go, far from an expert. But I'm not familiar with a capability to use, say, native MacOS platform libraries from a go app that I'm compiling in Windows/Linux without using a VM of some sort to compile it. If that's possible I'd love to learn more.
Re:HTTP/3 is everywhere but nowhere by hnlmorg on Monday March 17, 2025 @03:36PM (#43392002)
If you’re calling against shared libraries using cgo then things are a little more tricky, but still doable.

But if it’s native Go code, then cross platform compiling is just an a few environmental variables

  GOOS=darwin 
  GOARCH=arm64