Live data from Hacker News

Compiling a Go program into a native binary for Nintendo Switch

ebiten.org

1–10 of 46 posts

Re: Compiling a Go program into a native binary for Nintendo Switch

#3
post #2

Hajime Hoshi is a true gem and the Go ecosystem is incredibly lucky to have him. He was very approachable and friendly when I was toying with game development in Go. I should get back to finishing that game in Ebiten. The tooling alone puts a smile on my face.

No post body was provided.

Re: Compiling a Go program into a native binary for Nintendo Switch

#5
There is also some support for the Switch with TinyGo (A Go compiler for embedded system), but looking at the current state of the docs for this platform it's hard to tell how well supported it might be: https://tinygo.org/docs/reference/microcontrollers/nintendos...

Re: Compiling a Go program into a native binary for Nintendo Switch

#6
I absolutely love ebiten, it's gotten me back into game development which was why I initially got into software dev. I've been working through the Game Programming Patterns book and it's been an awesome platform to learn some of the common patterns in game dev. Also the maintainer is incredibly active and constantly pushing the development forward. I'm currently working on a side-scroller and am really excited to see if I can get it running on the switch.

Re: Compiling a Go program into a native binary for Nintendo Switch

#9
post #4

This is awesome. Sad to see the work is kind of “wasted” in the sense that it’s not officially supported and any update to Go will likely break it. But I learned a lot reading this article.

It's apparent that the author intends to maintain this across Go version upgrades. Part of this work is a custom patch format to make it easier to manage the changes to the Go runtime (https://ebiten.org/blog/native_compiling_for_nintendo_switch...).

The author also explicitly stated that he did not expect major work to upgrade to a new Go version in https://ebiten.org/blog/native_compiling_for_nintendo_switch....

Post reply on HN