{"repo":"drpaneas/libgodc","free":true,"listed":false,"github":"https://github.com/drpaneas/libgodc","clone":"git clone https://github.com/drpaneas/libgodc.git","description":"Go runtime for Dreamcast using gccgo and KOS","language":"C","stars":225,"topics":["dreamcast","golang","gamedev","homebrew","game-development","retro-gaming"],"license":null,"category":"game-templates","readme_excerpt":"libgodc - Go runtime for Sega Dreamcast Replaces the standard Go runtime with one designed for the Dreamcast's constraints: memory 16MB RAM, CPU single-core SH-4, no operating system. Provides garbage collection, goroutines, channels, and the core runtime functions. Quick Start Prerequisites: Go 1.25.3+, make , and git must be installed. Note: The godc CLI tool is a separate project that handles toolchain setup and builds. Create and run a project: See the Quick Start Guide for your first program. Documentation 📚 Full Documentation - Installation — Setup and configuration - Quick Start — First program walkthrough - Design — Runtime architecture - Effective Dreamcast Go — Best practices - KOS Wrappers — Calling C from Go - Limitations — What doesn't work Performance The repo includes tests/bench architecture.go for measuring runtime behavior on Dreamcast hardware. Benchmark What it reports ----------- ----------------- gosched Nanoseconds per yield Buffered channel Nanoseconds per buffered operation Context switch Nanoseconds per goroutine switch Unbuffered channel Nanoseconds per roundtrip Goroutine spawn Nanoseconds per spawn/run cycle GC pause Microseconds per forced collection across retained sizes from 32 KB to 1 MB Memory layout Stack size, context size, header size, and large-object threshold Run tests/bench architecture.elf on your hardware for current numbers. Examples The examples/ directory contains working programs: - hello — Minimal program (debug output) - hello","default_branch":null,"files":null,"tree":[],"storefront":"/r/drpaneas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/drpaneas/libgodc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}