Hacker GitHub

← All repos

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

Mentions per year 59 mentions · busiest year 2024 (14)
20082026
  1. ▲ 3
    SDL's Claude.md
    story by sergiogdr · 2026-10-27 · 1 comment
  2. 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. ▲ 3
    SDL's Agents.md
    story by delduca · 2026-08-31 · 0 comments
  4. ▲ 3
    SDL Project bans AI
    story by Apaec · 2026-08-31 · 0 comments
  5. …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…
  6. ▲ 4
    Vibe engineered WebGPU backend for SDL_GPU with demo
    story by roflcopter69 · 2026-06-24 · 1 comment
  7. https://github.com/libsdl-org/SDL/pull/15528
  8. …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...
  9. ▲ 289
    SDL Now Supports DOS
    story by Jayschwa · 2026-04-24 · 129 comments
  10. …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
  11. ▲ 132
    SDL bans AI-written commits
    story by davikr · 2026-04-16 · 138 comments
  12. …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
  13. 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
  14. …an app like sc-controller to use the touchpads for anything more complicated than mouse input. https://github.com/libsdl-org/SDL/commit/1998b650452bdf0bee5...
  15. Like these? https://github.com/libsdl-org/SDL/releases/tag/release-3.2.2...
  16. …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
  17. …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
  18. …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
  19. ▲ 13
    SDL3 Official Release
    story by Iuz · 2025-01-22 · 2 comments
  20. ▲ 9
    The SDL 3 official release
    story by bwidlar · 2025-01-22 · 2 comments
  21. ▲ 3
    SDL 3 Official Release
    story by stjo · 2025-01-22 · 0 comments
  22. ▲ 30
    SDL 3 Officially Released
    story by indy · 2025-01-21 · 1 comment
  23. …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
  24. …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
  25. …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…
  26. ▲ 4
    Announcing the SDL 3.1.3 Stable ABI Preview
    story by hnlauncher · 2024-10-05 · 0 comments
  27. SDL can be used to provide something similar to what you describe. https://github.com/libsdl-org/SDL/blob/main/docs/README-andr...
  28. ▲ 3
    SDL GPU won't support Android due to poor GPU drivers
    story by OlympicMarmoto · 2024-09-16 · 0 comments
  29. …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
  30. …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
  31. ▲ 306
    SDL3 new GPU API merged
    story by caspar · 2024-08-29 · 122 comments
  32. …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…
  33. …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
  34. 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.
  35. 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!
  36. ▲ 28
    Revert "video: Prefer Wayland over X11 (take 2)"
    story by develatio · 2024-03-25 · 10 comments
  37. I don't know for sure, but could it be this? https://github.com/libsdl-org/SDL
  38. 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
  39. …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…
  40. ▲ 1
    SDL3 Filesystem API RFC
    story by trashburger · 2023-08-18 · 0 comments
  41. …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...
  42. …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
  43. …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...
  44. Hmm... Looks like sdl2-config is deprecated and will be removed for SDL3: https://github.com/libsdl-org/SDL/issues/6140
  45. …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]
  46. ▲ 1
    SDL: Video: Prefer Wayland over X11 (take 2)
    story by develatio · 2022-11-30 · 1 comment
  47. …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
  48. …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…
  49. ▲ 1
    SDL 2.0.22: Prefer Wayland over X11
    story by MBCook · 2022-01-26 · 0 comments
  50. …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