Hacker News new | ask | show | jobs
by tcoff91 1658 days ago
Go is a very different language than rust. Go has automatic memory management & garbage collection. This automatically disqualifies it from being used in many scenarios that rust is designed to support, like embedded systems.

Go’s runtime model just makes stuff like this vastly simpler. Rust can’t impose the same kind of runtime model that go has.

2 comments

While Go isn't designed for embedded systems, it can run on them.

TinyGo is another Go compiler intended for embedded systems. And now its officially sponsored by Google.

https://tinygo.org/docs/reference/microcontrollers/

TinyGo is awesome.
Lots of embedded systems are very happy using garbage collection and languages with runtimes.