HNHacker News
TopNewBestAskShowJobs

drpaneas

136 karma · joined May 17, 2025

submissionscomments
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
glad to hear that tasa
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
Thanks Kosta <3
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
I think Lua (yes you can code Dreamcast games with it) would be really awesome for kids, being able to make their own games, given the language is simple, like Python. But in general, for serious stuff C/C++ is still the preferred way.
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
thanks @steeve :D
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
Thanks :D How about porting Diablo? https://x.com/PanosGeorgiadis/status/2005692695402955143
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
You've put a smile on my face reading your comment, thank you for your feedback, happy holidays :D
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
problem is TinyGo uses LLVM, which doesn't support SH-4. The only reason I went with gccgo is due to SH4 target. In any case, I learned a ton of things doing this project :D
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
Many thanks @dontaj much appreciated, indeed documenting the process felt like another project of its own, so I am very happy to hear that! The effective dreamcast Go was inspired from the old time classic https://go.dev/doc/effective_go :D
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
I am using sh-elf-gccgo (GCC) 15.1.0 which is ok-ish I guess. But in general gccgo tries to be close to Go, but they do not implement all the features. e.g. generics are still missing for example.
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
yeah, been there, nostalgia hits hard. Dreamcast was a beast of its era, it even had Ethernet! Even the VMU was something extraordinary! Too bad SEGA had to cancel it :(
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
thanks @rpastuszak, much appreciated :D
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
Hey Timur, long time no see, I hope all is going well :) No, you cannot use generics, they are not yet supported by gccgo.
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
you're very welcome :D Thanks!
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
thanks @danhau, much appreciated, indeed documenting the process felt like another project of its own, so I am very happy to hear that :D
drpaneas··on Libgodc: Write Go Programs for Sega Dreamcast
I built a Go runtime that runs on the Sega Dreamcast, the 1999 console with 16MB RAM and a 200MHz SH4 CPU.

You can write games in Go with goroutines, channels, garbage collection, and all the language features you'd expect. It compiles using gccgo and runs on real hardware or emulators.

The project includes 3 game examples Pong, Breakout and Platformer, input handling, audio support, and integrates with KallistiOS (the Dreamcast homebrew SDK).

* Star Here: https://github.com/drpaneas/godc * Documentation: https://drpaneas.github.io/libgodc/ * Video Tutorial: https://youtu.be/ahMl0fUvzVA

Happy to answer any questions about the implementation!