SDL
Hacker ApprovedThe most recommended of 8 game frameworks
Recommended as a cross-platform base for windows, input, graphics and audio, saving platform-specific work. Critics note it is large and that SDL3 changed several APIs.
Recommended as a cross-platform base for windows, input, graphics and audio, saving platform-specific work. Critics note it is large and that SDL3 changed several APIs.
104 people gave an opinion
- recommend it
- 81
- criticize it
- 23
- approval share
- 78%
Recommended in 12 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it carries the badge
- 81 people recommend itNeeds 10 or more, met.
- 3.5 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 12 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Graphics without a full engine
“At very least I can say SDL has reached a passable state for 3D. It doesn't support some modern features like bindless though.”
Comment from 2 Mar 2026 in “Making Video Games in 2025 (without an engine)” “SDL is kinda the king of “I want graphic, but not enough to bring a whole toolkit, or suffer with opengl””
Comment from 16 Apr 2026 in “SDL bans AI-written commits” “You can make an entire 3d game using SDL3 as well, without opengl or vulkan, using the new GPU API!”
Comment from 20 Jul 2026 in “Minecraft: Java Edition now uses SDL3” - Comment from 10 Jun 2026 in “Making Graphics Like it's 1993”
- Comment from 24 May 2026 in “Childhood Computing”
Cross-platform support, including consoles and mobile
“SDL is very relevant. Not just on PC, also on consoles as ports for all modern consoles are available to platform disclosed developers.”
Comment from 19 Jan 2026 in “jQuery 4.0.0 Released” “it brings along much more than SDL2 where you had to use a lot of other libraries to become platform independent with all features”
Comment from 24 Aug 2026 in “Show HN: A Modern GUI Library for Ada: CSS Styling, XML UI, SDL3” “they have support from Valve, a company that has reasons to care about cross platform gaming”
Comment from 22 Nov 2025 in “How I learned Vulkan and wrote a small game engine with it (2024)” - Comment from 29 Sep 2026 in “Tcl/Tk 9.1”
Stable, mature, long-maintained library
“SDL looks rather strong from my perspective and still my typical goto when having fun making a game.”
Comment from 19 Jan 2026 in “jQuery 4.0.0 Released” “SDL is actually one of the most stable libraries that a native game can use.”
Comment from 4 Sep 2026 in “Porting my 1993 Amiga game to Godot, with an LLM reading the 68000 assembly” “from the official maintainers which have been working on it for decades”
Comment from 16 Apr 2026 in “SDL bans AI-written commits” Quick to start, easy to hook in
“you could start writing to the screen in under 30 minutes with some basic libraries like SDL”
Comment from 21 Apr 2026 in “I learned Unity the wrong way” “sdl is in the package manager, making it fairly easy to hook into”
Comment from 11 Aug 2026 in “Chicken Scheme 6.0 Released”
What people warn about
Each mark is one comment
Large library with many workarounds
“SDL is a pretty big beast (partly because it needs to accumulate a lot of hacks and workaround for buggy drivers and window systems)”
Comment from 15 Jun 2026 in “The Future of wasi-gfx and wasi:webgpu” “it brings along much more than SDL2 where you had to use a lot of other libraries to become platform independent with all features”
Comment from 24 Aug 2026 in “Show HN: A Modern GUI Library for Ada: CSS Styling, XML UI, SDL3” Hits limits beyond small games
“sdl is super high level. If you want to do more than pong, you'll hit a wall very quickly.”
Comment from 22 Nov 2025 in “How I learned Vulkan and wrote a small game engine with it (2024)” “SDL isn't even in the same dimension of usability compared to the Godot editor.”
Comment from 11 Sep 2026 in “Show HN: Godot and Rust based multiplexer (terminal panes and more)”
Other game frameworks people recommend
The four most recommended other game frameworks, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
See all 8 game frameworks, rankedWhat people said
40 of the 130 comments that mention it, newest first. Each links to the original comment.
“I ported the game to SDL3/Zig and wouldn't you know it I can run continuously at 60 fps”
“given wider platform coverage (e.g. mobile), more system integration (e.g. clipboard)”
“SDL isn't even in the same dimension of usability compared to the Godot editor.”
“SDL is actually one of the most stable libraries that a native game can use.”
“SDL3 was a perfect fit as a backend since it abstracts away the hardware perfectly”
“it brings along much more than SDL2 where you had to use a lot of other libraries to become platform independent with all features”
“quality dependencies on the level of SDL, ffmpeg, libcurl, where one domain is solved well”
“sdl is in the package manager, making it fairly easy to hook into”
“a "industry standard" C library like GSL or SDL3, I just use it and move on”
“LWJGL team recommended a couple of months that projects not use GLFW or move to SDL3 when convenient.”
“You can make an entire 3d game using SDL3 as well, without opengl or vulkan, using the new GPU API!”
“It was mostly a painless refactor though I did have some issues with full screen exclusive modes”
“With improvements on both CMake's end and SDL's own build system, it is quite seamless.”
“SDL3 has better support for switching between keyboard layout keys and physical keys depending on context”
“SDL is a pretty big beast (partly because it needs to accumulate a lot of hacks and workaround for buggy drivers and window systems)”
“SDL has always made it easy to directly present a software buffer of pixels to the screen.”
“SDL is a relatively high level API and framebuffer style graphics work fine on it”
“use SDL or Raylib instead of writing your framebuffer blitter in inline Assembly”
“since they've aggressively dropped support for almost every port/OS they had”
“It's a simple enough implementation that implicitly helps document how SDL is supposed to work”
“you could start writing to the screen in under 30 minutes with some basic libraries like SDL”
“Unreal 5 uses SDL to be able to create "windows" in a cross platform manner”
“SDL2 (much less SDL3) caught up to SFML about 6-7 years ago in usability issues”
“it's full of knowledge by humans from trial and error over years of using input devices in the real world”
“SDL is kinda the king of “I want graphic, but not enough to bring a whole toolkit, or suffer with opengl””
“I would think Claude would recommend using SDL instead of running some janky homespun thing”
“from the official maintainers which have been working on it for decades”
“People would be better off looking at the examples page and repo for SDL itself.”
“I do game development so I'm most familiar with the ones commonly used in game engines”
“ideally I'd like to start making a small 2D game just with SDL3 and C++”
“At very least I can say SDL has reached a passable state for 3D. It doesn't support some modern features like bindless though.”
“The entire point of using a library like SDL is dependency! Use all the things!”
“SDL looks rather strong from my perspective and still my typical goto when having fun making a game.”
“SDL is very relevant. Not just on PC, also on consoles as ports for all modern consoles are available to platform disclosed developers.”
“I would recommend something like SDL if you want a more complete platform abstraction”
“sdl is super high level. If you want to do more than pong, you'll hit a wall very quickly.”
“they have support from Valve, a company that has reasons to care about cross platform gaming”
“I find SDL3 more fun and interesting, but it's a ton of work to to get going.”
“they strongly encourage everyone to dynamically link it in order to keep older games going”
“You can use SDL2, which is behind the Godot port for Sailfish (3.5 still).”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.