3 ms·
Go has an excellent set of SDL2 bindings: https://github.com/veandco/go-sdl2 https://github.com/veandco/go-sdl2 They do a very good job of making the API relat
by gameswithgo 9y ago
Go has an excellent set of SDL2 bindings:
https://github.com/veandco/go-sdl2 https://github.com/veandco/go-sdl2
They do a very good job of making the API relatively idiomatic to Go without adding overhead, and I haven't run into any bugs yet.
I have been using them as part of a twitch series that teaches programming via small game projects. I go through how to get SDL2 up and running in episode 6:
https://www.twitch.tv/jackmott42/videos/all https://www.twitch.tv/jackmott42/videos/all
There are aspects of Go that should make it better for game related programming. The low latency GC is a very good thing, compiling to native binaries means quicker start up time, and better responsiveness than a JIT, and easier distribution. Fast compile times are also very nice for many game programming workflows.
- armandososa 9y agoAwesome. Thanks for the link to those videos, I plan to watch them all.