ReturnInfinity / BareMetal-OS-legacy

BareMetal is a 64-bit OS for x86-64 based computers. The OS is written entirely in Assembly while applications can be written in Assembly, C/C++, and Rust.
1.74k stars 302 forks source link

Support for Google Go (golang) #71

Closed metakeule closed 9 years ago

metakeule commented 9 years ago

Would it be possible to port Go to BareMetalOS?

Would be a nice fit.

Pastor commented 9 years ago

-1 for go support

metakeule commented 9 years ago

Ok, to be more specific:

It would be nice to check, if support for Go would be possible at all (i.e. if BareMetalOS supports everything, the Go runtime needs or if the BareMetalOS developers were willing to add the missing features).

d2alphame commented 9 years ago

If BareMetal supported everything, it would be headed for the "bloat ware" status.

metakeule commented 9 years ago

@d2alphame correct. So the question remains if it will (or does already) support what is needed for the Go runtime (!= everything). Once there was some code supporting to run Go on bare metal (i.e. as operating system) but that code has not been maintained and is no longer compatible with the current Go runtime.

IanSeyler commented 9 years ago

Should be possible for any language out there. What is required is some 'glue' for Go so that it can call the OS functions. Unfortunately I don't have any experience with Go.

It's a similar issue to RustBoot (https://github.com/charliesome/rustboot) where a simple Rust program can run without a standard OS.

iandeimster commented 9 years ago

+1 Would love to use Golang on this.

hayleyxyz commented 9 years ago

-1

This project should be kept minimal.

benaryorg commented 9 years ago

I think that is something that should be asked on some go-forums or mailinglists as it is not a feauture of an OS to run a language but a feature of a language to run on an OS, IMO.

But it would be nice to share your findings.

IanSeyler commented 9 years ago

Closing this as it is out of scope for the OS itself.