glfw VS go-sdl2

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
glfw go-sdl2
3 3
1,508 2,126
1.4% 1.4%
6.7 6.9
2 days ago 3 days 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.

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

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.

What are some alternatives?

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

gl - Go bindings for OpenGL (generated via glow)

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

mathgl - A pure Go 3D math library.

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

goxjs/gl - Go cross-platform OpenGL bindings.

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

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

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.

go-wlroots - Go binding for wlroots

d3d9 - Direct3D9 wrapper for Go.

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

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