-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Description
Hello there, i am a Haiku Os user, and want to propose you that please dedicate a little of time to port GO to this operating system, they already have an old version of GO, but become obsolete to this times.
I was reading this thread: https://discuss.haiku-os.org/t/advice-on-porting-language-to-support-haiku/12542/4
And this seems to be the actual state :
"Also, because the Go compiler itself is written in Go, you first need a way to compile the compiler. In compiler world, this is called “bootstrapping” (from the english expression “pulling yourself out of quicksand by pulling on your boot straps” if I’m not mistaken).
You have two options for this “bootstrapping”: use a cross-compiler to compile a native compiler, or start by a version of the Go compiler that is written in another language, already available on Haiku.
The second approach was used for the old Go port we already have. So one option is starting from that, and building newer and newer versions of Go until we get to the latest one. But it has been a few years and it may require fixing things again and again for each version of Go.
So, starting from a modern Go on Linux is maybe easier? Not having tried this myself, I’m not sure what the challenges would be in that case.
It may be a good idea to also contact maintainers of the Go compiler and ask them how they would do it. They probably know better what the problems could be in each approach or maybe they have other ways to offer that I didn’t think of."
It dont seems imposible to get a port there, Haiku have a lot of potential, is a very cool operating system close to the Beta 4, can be a great thing if we can have your awesome programming language there.
Thanks