Live data from Hacker News

Writing Apps in Go and Swift

youngdynasty.net

61–62 of 62 posts

Re: Writing Apps in Go and Swift

#61
post #41

Earlier quoted context omitted.

I think BeOS tried to and it did not went well with common threading issues poping up on BeOS apps. Not sure if Haiku has any improvements regarding it.

Not sure what you mean when you say "common threading issues"; the entire point of the Be design was to force all threads to use message-based communication instead of shared memory for virtually all uses, and mandatory locking otherwise. It's extremely effective.

It was quite common to see BeOS apps crashing due to not handling the threads communication properly.

Having the whole OS being so multithreading heavy was a novelty for the large majority of developers and quite easy to make mistakes.

Re: Writing Apps in Go and Swift

#62
I found your article particularly interesting, because lately I've been experimenting with calling Swift from Go.

The approach is based on the same principle: cgo as bridge between Go and a C library. The C library is build by the Swift package manager. Blog post on Dev community with details:

https://dev.to/gerwert/calling-swift-from-go-5dbk

Post reply on HN