SDL 2.0 Language Bindings
The Simple DirectMedia Layer library has bindings to many different programming languages. While SDL is written in C, it works well with C++ and many people like to use it with various scripting languages and special purpose programming languages.
SDL 3.0 language bindings are available here.
- Ada
SDLAda - https://github.com/ada-game-framework/sdlada- Beeflang
BeefLibs SDL2 - https://github.com/beefytech/Beef/tree/master/BeefLibs/SDL2- C#
SDL2# - https://github.com/flibitijibibo/SDL2-CS- D
DerelictSDL2 - https://derelictorg.github.io/packages/sdl2/
BindBC-SDL - https://github.com/BindBC/bindbc-sdl- Go
go-sdl2 - https://github.com/veandco/go-sdl2- Haskell
sdl2 - https://hackage.haskell.org/package/sdl2- Hollywood
RebelSDL - https://www.hollywood-mal.com/docs/html/rebelsdl/- Lua
Lua-SDL2 - https://github.com/Tangent128/luasdl2- OCaml
Tsdl - https://erratique.ch/software/tsdl- Odin
Odin SDL 2 - https://github.com/odin-lang/Odin/tree/master/vendor/sdl2- Pascal
Bare Game - https://github.com/sysrpl/Bare.Game/blob/master/source/bare.interop.sdl2.pas
Pascal SDL 2 - https://github.com/ev1313/Pascal-SDL-2-Headers
SDL2 for Pascal - https://github.com/PascalGameDevelopment/SDL2-for-Pascal- Python
pygame_sdl2 - https://github.com/renpy/pygame_sdl2
PySDL2 - https://pypi.org/project/PySDL2/
pysdl2-cffi - https://pythonhosted.org/pysdl2-cffi/- Rust
Rust-SDL2 - https://github.com/Rust-SDL2/rust-sdl2- TypeScript
SDL_ts - https://github.com/smack0007/SDL_ts- Zig
SDL on Zig - https://github.com/pwbh/SDL- V
SDL for Vlang - https://github.com/vlang/sdl- Nim
SDL for Nim - https://github.com/nim-lang/sdl2- Crystal
SDL for Crystal - https://github.com/ysbaddaden/sdl.cr