4 ms·
I was very excited when I read the headline. I thought someone wrote an OS kernel in Go. Which is something I would like to see.
by saintfiends 11y ago
I was very excited when I read the headline. I thought someone wrote an OS kernel in Go. Which is something I would like to see.
- afshin 11y agoThat's an interesting idea, but because Go is garbage collected, it doesn't seem like a language that could be used to write an effective kernel, but I'm out of my depth, so I could be entirely incorrect. Here is the language authors' current thinking on where they want to go with GC: https://docs.google.com/document/d/16Y4IsnNRCN43Mx0NZc5YXZLovrHvvLhK_h0KN8woTO4/edit https://docs.google.com/document/d/16Y4IsnNRCN43Mx0NZc5YXZLo... It seems like a language like Rust with safe memory management and no GC pauses is better suited to writing a kernel. I know the two languages aren't really competing in the same space or for writing the same types of systems, but they are both gaining momentum at about the same time, so the comparison is a little inevitable.
- saintfiends 11y agoI had this bookmarked https://code.google.com/p/gofy https://code.google.com/p/gofy. But it's pre Go 1.0. I wish someone would port this to recent a version.