logoalt Hacker News

bootsmann • yesterday at 7:36 PM • 2 replies • view on HN

Isn’t writing Go for embedded systems kinda like eating soup with a fork tho? This language was designed to write multithreaded asynchronous code to power microservice meshes.


Replies

Groxx • yesterday at 9:57 PM

If it's within like 90% of your targets and it's a far easier development experience, but you need to optimize a small bit to fit in the budget, tools like this can be fantastically useful. Rewriting the whole thing in, like, C, complete with a coroutine stack, would be a hell of a lot more work than "avoid allocations here".

pjmlp • today at 10:12 AM

There are commercial products using Go in embedded systems already, via TinyGo and TamaGo compilers.

Even ESP32 is much better than any MS-DOS PC, we have to update our understanding of embedded platforms, not everyone is writing Assembly or C dialects to PIC like microcontrollers.