floooh/sokol-nim
View on GitHub ↗ ★ 104 C
nim bindings for https://github.com/floooh/sokol
4 mentions on Hacker News by 2 people: 0 stories, 4 comments · first 2018-04-09 · latest 2025-09-01
20082026
-
…- SFML: https://github.com/oprypin/nim-csfml - SDL: https://github.com/nim-lang/sdl2 - sokol: https://github.com/floooh/sokol-nim If there's a popular enough C or C++ library, it's probably already wrapped, especially within the gamedev…
comment by miguel_martin · 2025-09-01 · in A review of Nim 2: The good and bad with example code -
…use the header to auto-generate the bindings. For example: - https://github.com/floooh/sokol-zig - https://github.com/floooh/sokol-nim - https://github.com/floooh/sokol-odin These are all auto-generated from STB-style single-file…
comment by flohofwoe · 2022-10-13 · in Tinyphysicsengine: Minimalist 3D C99 single-header physics engine -
…for separate compilation and linking with the D program. Nim does allow something like this: https://github.com/floooh/sokol-nim/blob/master/sokol/gfx.ni... , but I guess since Nim compiles to C this is much easier to achieve :)
comment by flohofwoe · 2018-04-09 · in Include C headers in D code