News for hackers. Stuff that matters.
Re:Swift Static Linux SDK by kbolino on Thursday June 13, 2024 @09:03AM (#40669137)
This is a good point. It's possible to use Go this way too, but it gets tricky. You can lock the main goroutine to its O/S thread with runtime.LockOSThread and then do the heavy lifting on other goroutines, sending messages back to the main goroutine typically using channels. Given Swift's lineage, this is probably more ergonomic there than in Go.

There are no comments on this comment yet.