Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2018 (1)
20082026
  1. …- 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…
  2. …use any comptime features): Zig: https://github.com/floooh/sokol-zig/tree/master/src/examples Nim: https://github.com/floooh/sokol-nim/tree/master/examples Odin: https://github.com/floooh/sokol-odin/tree/main/examples Rust:…
    comment by flohofwoe · 2023-08-01 · in Nim 2.0
  3. …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…
  4. …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