Porting SBCL to the Nintendo Switch

Over the past two years, the author and Charles Zhang have been working on getting the game engine, Trial, running on the Nintendo Switch. The primary challenge has been porting the Common Lisp runtime to work on this platform, which has proven trickier than expected. They have managed to compile and execute Lisp code on the Switch, but face challenges with the garbage collector and C callback mechanism interfering with audio output. Despite financial constraints, the author continues to fund this project and is seeking support on Patreon, GitHub, or Ko-Fi. The author outlines the complex process involved in building SBCL for the Switch, detailing challenges like thread parking for garbage collection.

https://reader.tymoon.eu/article/437

To top