Hacker Newsnew | past | comments | ask | show | jobs | submit | drpaneas's commentslogin

glad to hear that tasa


Thanks Kosta <3


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.


thanks @steeve :D



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


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.


It appears stale to me, there seems no one is driving it any longer, and Ian Lance Taylor has moved on anyway.

Maybe eventually the same can be tried with TinyGo, just as an idea.


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


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 :(


thanks @rpastuszak, much appreciated :D


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!


I just wanted to say how impressive your documentation is. I expected an average readme.md, but not only is your readme great (the performance table is wonderful), but the full documentation is awesome. It pretty much answers all questions I had. Nice job! I wish all projects were like this.

I also dig the documentation / book styling.


thanks @danhau, much appreciated, indeed documenting the process felt like another project of its own, so I am very happy to hear that :D


Hey panos! I only had a short look at this for now, and it looks impressive! I'll have to dust off my Dreamcast and get this running.

I looked at gccgo when porting the runtime to n64, but at the time it wasn't updated since go1.18. Can we use Go Generics on the Dreamcast? I see that gccgo is obviously needed to support SH4.


Hey Timur, long time no see, I hope all is going well :) No, you cannot use generics, they are not yet supported by gccgo.


This is a beautiful thing to exist. Much respect for building this.


You've made my entire WEEK! Thank you!


You've put a smile on my face reading your comment, thank you for your feedback, happy holidays :D


This is kind of cool, kudos for the effort.


you're very welcome :D Thanks!


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

Search: