libsdl-org/SDL
View on GitHub ↗ ★ 16,932 C
Simple DirectMedia Layer
59 mentions on Hacker News by 50 people: 17 stories, 42 comments · first 2021-05-08 · latest 2026-10-27
20082026
-
▲ 3
SDL's Claude.mdstory by sergiogdr · 2026-10-27 · 1 comment
-
Same for SDL https://github.com/libsdl-org/SDL/blob/main/AGENTS.md ``` Generative AI, including large language models (LLMs), should not be used in any way when contributing to SDL. We want our code to be art. We want to interact with real…
comment by mococa · 2026-10-01 -
▲ 3
SDL's Agents.mdstory by delduca · 2026-08-31 · 0 comments
-
▲ 3
SDL Project bans AIstory by Apaec · 2026-08-31 · 0 comments
-
…support, since there's just too many devices that haven't properly implemented the Vulkan spec. ( https://github.com/libsdl-org/SDL/issues/12652#issuecomment-... ) Another data point: the current maintainer of the renderer portion of the…
comment by cyber_kinetist · 2026-07-23 · in Learn OpenGL, extensive tutorial resource for learning Modern OpenGL -
▲ 4
Vibe engineered WebGPU backend for SDL_GPU with demostory by roflcopter69 · 2026-06-24 · 1 comment
-
https://github.com/libsdl-org/SDL/pull/15528
comment by haunter · 2026-05-15 · in SDL Library Adds Support for the New Steam Controller Without Depending on Steam -
…main developer has been at Valve for years, already has added support for it back in November: https://github.com/libsdl-org/SDL/blob/main/src/joystick/hid...
comment by ThatPlayer · 2026-05-07 · in Valve releases Steam Controller CAD files under Creative Commons license -
▲ 289
SDL Now Supports DOSstory by Jayschwa · 2026-04-24 · 129 comments
-
…an exact copy was where the author explicitly licensed the code under a more permissive license: https://github.com/libsdl-org/SDL/blob/5bda0ccfb06ea56c1f15a...
comment by johndough · 2026-04-16 · in SDL bans AI-written commits -
▲ 132
SDL bans AI-written commitsstory by davikr · 2026-04-16 · 138 comments
-
…better off looking at the examples page and repo for SDL itself. https://examples.libsdl.org/SDL3/ https://github.com/libsdl-org/SDL/tree/main/examples
comment by krapp · 2026-04-06 · in LÖVE: 2D Game Framework for Lua -
SDL3 doesn't support bindless resources and the plans to do so in the future are very loose[1]. [1] https://github.com/libsdl-org/SDL/issues/11148#issuecomment-...
comment by hresvelgr · 2026-04-06 · in LÖVE: 2D Game Framework for Lua -
…an app like sc-controller to use the touchpads for anything more complicated than mouse input. https://github.com/libsdl-org/SDL/commit/1998b650452bdf0bee5...
comment by ikkun · 2026-02-05 · in Steam Hardware: Launch timing and other FAQs -
Like these? https://github.com/libsdl-org/SDL/releases/tag/release-3.2.2...
comment by pjmlp · 2025-10-22 · in rlsw – Raylib software OpenGL renderer in less than 5k LOC -
…and exist in C too. I'll just link to some of the bugs directly that posted as issues to SDL: https://github.com/libsdl-org/SDL/issues/4789 (not fixed) https://github.com/libsdl-org/SDL/issues/4816 (closed)…
comment by gingerBill · 2025-09-11 · in A critique of package managers -
…the test folder in the repo[0] for more interesting stuff and of course the Discourse forum[1]. [0] https://github.com/libsdl-org/SDL/tree/main/test [1] https://discourse.libsdl.org/
comment by krapp · 2025-05-17 · in SDL3 examples: Full game and app demos -
…header text to include. Here's an example of this from a random file in the SDL source code: https://github.com/libsdl-org/SDL/blob/main/src/video/SDL_bl... Obviously Microsoft is still committing copyright infringement and in the wrong…
comment by ndiddy · 2025-04-21 · in Getting forked by Microsoft -
▲ 13
SDL3 Official Releasestory by Iuz · 2025-01-22 · 2 comments
-
▲ 9
The SDL 3 official releasestory by bwidlar · 2025-01-22 · 2 comments
-
▲ 3
SDL 3 Official Releasestory by stjo · 2025-01-22 · 0 comments
-
▲ 30
SDL 3 Officially Releasedstory by indy · 2025-01-21 · 1 comment
-
…doesn't even enumerate all of the possible values! You need to source-dive to get them: https://github.com/libsdl-org/SDL/blob/f45ce45603a00e92332f9... - plus any possible patches in ports; most developers won't ever care, and will just…
comment by rollcat · 2025-01-01 · in Building Game Prototypes with LÖVE -
…that need manual fixing. [1] https://ioquake3.org/ioquake3/ryan-c-gordon-ports-ioquake3-f... [2] https://github.com/libsdl-org/SDL/blob/main/build-scripts/SD...
comment by janice1999 · 2024-12-26 · in Coccinelle -
…doesn't. It's really that simple. I think this exchange can help you understand my position better: https://github.com/libsdl-org/SDL/pull/9345#issuecomment-201... >Wayland has a myriad of unresolved problems regarding surface suspension…
comment by AlienRobot · 2024-10-07 · in XFCE 4.20 aims to bring preliminary Wayland support -
▲ 4
Announcing the SDL 3.1.3 Stable ABI Previewstory by hnlauncher · 2024-10-05 · 0 comments
-
SDL can be used to provide something similar to what you describe. https://github.com/libsdl-org/SDL/blob/main/docs/README-andr...
comment by RunSet · 2024-09-23 · in Rawdrawandroid – Build Android apps without any Java, in C and Make -
▲ 3
SDL GPU won't support Android due to poor GPU driversstory by OlympicMarmoto · 2024-09-16 · 0 comments
-
…https://github.com/Rust-SDL2/rust-sdl2/blob/master/src/sdl2/... SDL/test /testautomation_render.c: https://github.com/libsdl-org/SDL/blob/main/test/testautomat...
comment by westurner · 2024-08-30 · in SDL3 new GPU API merged -
…and FXC/DXC, respectively (NB: It seems this currently wouldn't compile against SDL3 master). [1] https://github.com/libsdl-org/SDL/blob/d1a2c57fb99f29c38f509... [2] https://moonside.games/posts/layers-all-the-way-down [3]…
comment by e4m2 · 2024-08-30 · in SDL3 new GPU API merged -
▲ 306
SDL3 new GPU API mergedstory by caspar · 2024-08-29 · 122 comments
-
…haven't been added to Wayland yet so Valve added equivalent protocols to Gamescope as a workaround: https://github.com/libsdl-org/SDL/pull/9345 One thing to note is that the Steam Deck only uses Wayland for its fullscreen gaming mode. When…
comment by ndiddy · 2024-04-27 · in 12to11 – run Wayland applications on an X server -
…ObjC files at all. SDL2 has a bunch of Cocoa files[1] so you did use Cocoa even if unknowingly. [1] https://github.com/libsdl-org/SDL/tree/main/src/video/cocoa
comment by speps · 2024-04-19 · in C-Macs – a pure C macOS application -
Correct. It's explained here: https://github.com/libsdl-org/SDL/pull/9345#issuecomment-201... XWayland has special hooks into the compositors that normal wayland clients don't get.
comment by crotchfire · 2024-03-25 · in Revert "video: Prefer Wayland over X11 (take 2)" -
Best comment: https://github.com/libsdl-org/SDL/pull/9345#issuecomment-201... > SDL is not your tool for "signaling to stakeholders" about what is important. But but but I need engagement for my team!
comment by crotchfire · 2024-03-25 · in Revert "video: Prefer Wayland over X11 (take 2)" -
▲ 28
Revert "video: Prefer Wayland over X11 (take 2)"story by develatio · 2024-03-25 · 10 comments
-
I don't know for sure, but could it be this? https://github.com/libsdl-org/SDL
comment by JohnFen · 2024-02-27 · in Ask HN: What is the SDL.h file in SuperTux? -
Found about this through the release of SDL 3: https://github.com/libsdl-org/SDL/blob/main/build-scripts/SD...
comment by speps · 2023-12-16 · in Semantic Patching in C with Coccinelle -
…correct? I do think there's a lot more going on than that. Here's SDL's current pixel access code: https://github.com/libsdl-org/SDL/blob/main/src/video/SDL_su... To do a pixel read there's at least a lock, memcpy, format conversion and an…
comment by vkaku · 2023-11-29 · in BBC Basic returns on multiple platforms, open sourced -
▲ 1
SDL3 Filesystem API RFCstory by trashburger · 2023-08-18 · 0 comments
-
…to override static links with system dynamic links at application launch. SDL works like that: https://github.com/libsdl-org/SDL/blob/main/docs/README-dyna...
comment by seba_dos1 · 2023-06-05 · in Response to “Developers are lazy, thus Flatpak” -
…version at runtime, even if it is statically linked, though they still suggest to link dynamically: https://github.com/libsdl-org/SDL/blob/main/docs/README-dyna...
comment by hburd · 2023-02-12 · in How to create portable Linux binaries -
…you really think the SDL devs would bother with such a thing if it weren't a common practice? [0] https://github.com/libsdl-org/SDL/blob/release-2.26.2/src/dy...
comment by pengaru · 2023-02-02 · in Even with the M2 Pro, Mac gaming is as bad as it’s ever been -
Hmm... Looks like sdl2-config is deprecated and will be removed for SDL3: https://github.com/libsdl-org/SDL/issues/6140
comment by ufo · 2023-01-08 · in SDL2 common mistakes and how to avoid them -
…been a lot more relevant though. [1] - https://www.phoronix.com/review/nvidia-510-wayland [2] - https://github.com/libsdl-org/SDL/pull/6362
comment by vially · 2022-12-31 · in Write a Wayland Compositor [video] -
▲ 1
SDL: Video: Prefer Wayland over X11 (take 2)story by develatio · 2022-11-30 · 1 comment
-
…what rocksdb is but I assume it has its own C API library. [0] https://github.com/json-c/json-c [1] https://github.com/libsdl-org/SDL
comment by krapp · 2022-10-15 · in Ask HN: Modern C Libraries -
…Usually all libs have version tags associated: https://github.com/fmtlib/fmt/releases/tag/9.1.0 https://github.com/libsdl-org/SDL/releases/tag/release-2.24.... Rust Cargo.toml files help you to specify the version number or place * for the…
comment by omac777 · 2022-09-28 · in Why is it that C++ package managers are unnecessarily hard? – or are they? -
▲ 1
SDL 2.0.22: Prefer Wayland over X11story by MBCook · 2022-01-26 · 0 comments
-
…Please uses a statically linked version of SDL, without udev or inotify support compiled in. 1: https://github.com/libsdl-org/SDL/blob/d0de4c625ad26ef540166...
comment by nemetroid · 2022-01-02 · in Fixing stutters in Papers Please on Linux