Re:Exploring Rust (from C#)
by lgunsch on Wednesday March 23, 2016 @01:29PM
(#11346473)
You cannot use Go in kernel programming at all without a monumental amount of work. You'd need your own implementation of the language. Go originally did have a runtime that did not require systemcalls and could run on bare hardware, however, this was removed very early on as not being worth the effort.
[ Parent
| on HN ]
Yes I do remember that runtime when I was still reading gonuts.
As always, a language and its implementations are not the same thing.
It is nothing special to have a bare runtime that would enable a Go application to be statically compiled and deployed into a Raspberry PI, for example.
It just needs someone to create such Go compiler.
Of course, such work would probably be a nice thesis project for OS design classes.