Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Go was originally marketed as a convenient alternative to C. There was even planned support for a freestanding backend which never materialized, unfortunately. There were discussions at the time on using it to write OSes, bootloaders, and such.

Perhaps OP remembers this like I do?

I'm aware that Go has more-or-less become a language for writing webapps, but once upon a time the team had loftier goals.

I abandoned pursuing the language when these plans were dropped. My interest in working on anything web-related died around 2003 or so.



It's not OP only, it's freakin' everyone. If it would be a one-off occurrence I wouldn't have bothered writing a comment about it.

Go is always compared to Rust for some godforsaken reason.


Go was never meant to be a low-level language. It was called a systems language in that sense that system management software was written with it, rather than say operating systems and the like. It was to be a more tractable language than C/C++ for the many devs at Google.


> Go was never meant to be a low-level language.

I didn't make this claim.ยน

With that being said, high(er)-levels languages can be used for OS development and the like. There's considerable work in providing the underpinnings necessary for the abstractions, but it's doable and has been done.

There are plenty of archived discussions from the nascent-Go days on this topic. Using Go in the places C is used was discussed and, given that a directory named "freestanding" exists in the source tree from that time, I'm inclined to believe it was seriously considered.

[1] Also, FWIW, C is not a low-level language. As with any other systems language, a generous amount of work has to be done in order to make its abstractions map to the computer architecture. A macro assembler is a low-level language.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: