raylib-go VS go-sdl2

Compare raylib-go vs go-sdl2 and see what are their differences.


Go bindings for raylib, a simple and easy-to-use library to enjoy videogames programming. (by gen2brain)


SDL2 binding for Go (by veandco)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
raylib-go go-sdl2
6 0
723 1,693
- 2.1%
7.6 6.1
11 days ago 8 days ago
zlib License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of raylib-go. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-09.
  • Could Golang ever be used in the meat-and-potatoes of video game development?
    4 projects | reddit.com/r/golang | 9 Jan 2022
    I wrote a small game in Go https://nicholasimon.itch.io/snyk uses Raylib for graphics https://github.com/gen2brain/raylib-go. Very simple however it definitely is possible. Problem is there is minimal support for game development in Go compared to other languages makes it a bit more difficult
  • 3D lighting in Go?
    1 project | reddit.com/r/raylib | 30 Dec 2021
    I'm trying to implement lighting, I see the C++ library has some examples of it but I can't seem to find any for Go(lang). There is an example found on the official repo (here https://github.com/gen2brain/raylib-go/tree/master/examples/shaders/mesh_instancing) but that doesn't seem to work (undefined NewLight and LightTypeDirection on ln. 71 in main.go)
  • Gui lib for Go on Linux?
    2 projects | reddit.com/r/golang | 4 Sep 2021
    Raylib has RayGui and you can create a windows app with it https://github.com/gen2brain/raylib-go
  • The current state of RuntDeale!
    2 projects | dev.to | 15 Jun 2021
    So... RuntDeale could be further along than I want it to be... BUT, I am happy with what I got now, considering I've been moving it from language to language constantly (first it started as a web-game in JS, then I made a prototype in Python, then I tried to move to Java, then I eventually, after taking a bit of a break from it, I moved to GoLang... it was working well there, until I found out the Go bindings for Raylib were broken... so then I moved to C, but that was just beyond my understanding, so... FINALLY, I ended up with C++).
  • Can someone help me figure out how I can redistribute my game?
    1 project | dev.to | 28 May 2021
    GitHub Issue (How do I redistribute my prototype-game? #135).
  • Why do I keep getting this weird error when trying to load an image?
    1 project | dev.to | 26 May 2021
    So I'm trying to make a game in GoLang using Raylib Go (Go bindings of a C library with the same name).


Posts with mentions or reviews of go-sdl2. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning go-sdl2 yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing raylib-go and go-sdl2 you can also consider the following projects:

Ebiten - A dead simple 2D game library for Go

Pixel - A hand-crafted 2D game library in Go

Pygame - pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

g3n - Go 3D Game Engine (http://g3n.rocks)

Leaf - A game server framework in Go (golang)

gonet - A Game Server Skeleton in golang.

d3d9 - Direct3D9 wrapper for Go.

go-collada - Go package for working with the Collada file format.

go3d - A performance oriented 2D/3D math package for Go