SDL2 and Graphics Libraries

Comments compare a featured project to cross-platform graphics and windowing libraries like SDL2, Raylib, SFML, and sokol, discussing their popularity, portability, and suitability for games or simple rendering.

➡️ Stable 0.5x Gaming
2,385
Comments
20
Years Active
5
Top Authors
#5593
Topic ID

Activity Over Time

2007
1
2008
9
2009
23
2010
31
2011
39
2012
66
2013
110
2014
83
2015
131
2016
130
2017
112
2018
147
2019
152
2020
221
2021
172
2022
223
2023
245
2024
256
2025
222
2026
12

Keywords

GL REAPER raylib.com M.Sc IDE index.php FRP UI FFI GPL library opengl games engine graphics game cross platform platform shader config

Sample Comments

newnewpdro May 27, 2018 View on HN

SDL2 is pretty popular these days

Raminj95 Jun 19, 2025 View on HN

Is it like sdl2/3 and sfml or raylib?

dmateos Jan 25, 2024 View on HN

Were you able to use libs like sdl or opengl etc?

tonetheman Aug 16, 2020 View on HN

Feels a lot like raylib or sdl to me. Both of those projects are more about games and have other functionality.

wishinghand Aug 6, 2021 View on HN

Would Raylib fit your ideal?https://www.raylib.com

Ace17 Nov 28, 2017 View on HN

This is nice! Too bad it's tied to one platform (Windows), instead of some more generic API (like SDL or opengl).

sydd Jan 11, 2018 View on HN

Not that hard nowadays, just use something like SDL to do the heavy lifting.

Fraterkes Feb 7, 2023 View on HN

Dumb question maybe, but cant you "just" use something like sdl2?

anthk Apr 8, 2024 View on HN

It uses SDL so it would be easy to port.

nickt Apr 3, 2023 View on HN

You might be interested in the Maelstrom GPL port.https://github.com/libsdl-org/Maelstrom