go-sdl2 VS glfw

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
go-sdl2 glfw
3 3
2,124 1,505
1.3% 1.2%
6.9 6.7
3 days ago about 1 month ago
C C
BSD 3-clause "New" or "Revised" 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.

go-sdl2

Posts with mentions or reviews of go-sdl2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-05.

glfw

Posts with mentions or reviews of glfw. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-09.
  • Understand how to use C libraries in Go, with CGO
    3 projects | dev.to | 9 Oct 2023
    And this is how https://github.com/go-gst/go-gst, https://github.com/go-gl/glfw, and even https://fyne.io/ are using system libraries to propose a lot of functionalities.
  • 3D graphics library
    10 projects | /r/golang | 28 Aug 2022
    I'm looking for something that's relatively low-level (not a game engine) but preferably abstracts some of the boilerplate away and is cross-platform. Something like go-bgfx would have been perfect for me, but it has been long abandoned. The only real remaining option appears to be the glfw-bindings go-gl/glfw. Otherwise, I could make use of cgo to wrap some c/c++ code myself. I'm somewhat hesitant to go with glfw, because openGL isn't supported on all platforms (but realistically, I'm not going to publish anything that needs to go on mobile), and doesn't support raytracing, which I eventually want to mess around with too.
  • What libraries would allow drawing windowless overlays?
    3 projects | /r/golang | 31 Aug 2021

What are some alternatives?

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

raylib-go - Go bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.

gl - Go bindings for OpenGL (generated via glow)

Ebiten - Ebitengine - A dead simple 2D game engine for Go

mathgl - A pure Go 3D math library.

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

goxjs/gl - Go cross-platform OpenGL bindings.

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.

goxjs/glfw - Go cross-platform glfw library for creating an OpenGL context and receiving events.

d3d9 - Direct3D9 wrapper for Go.

go-wlroots - Go binding for wlroots

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

SPH-Fluid-Simulation - A multi-threaded particle-based solver, Smoothed-Particle Hydrodynamics, for the Navier-Stokes equation