logoalt Hacker News

lpil • today at 2:52 PM • 2 replies • view on HN

Go's garbage collection isn't well suited for an immutable language like Gleam, so the performance would likely be disappointing compared to other targets.


Replies

ch4s3 • today at 2:56 PM

The concurrency model in Go is also poorly suited to the BEAM's process model. Goroutines share a heap so you can't do a lot of things safely that processes can do. Having independent memory space for a process allows you to free it safely when work is done without GCing everything and you can also safely share data because you have a copy not a ref.

packetlost • today at 3:03 PM

An JavaScripts is? Rust is probably a more performant target regardless

➕ show 2 replies