Hacker GitHub

← All repos

floooh/sokol-odin

View on GitHub ↗ ★ 289 C

Odin bindings for the sokol headers (https://github.com/floooh/sokol)

7 mentions on Hacker News by 2 people: 0 stories, 7 comments · first 2022-08-28 · latest 2026-02-20

Mentions per year 7 mentions · busiest year 2022 (2)
20082026
  1. …Odin gets really close but can't chain initializers (which is ok though): https://github.com/floooh/sokol-odin/blob/d0c98fff9631946c11...
    comment by flohofwoe · 2026-02-20 · in Defer available in gcc and clang
  2. …such a flexible struct initialization syntax as C99. Odin is probably the closest I've seen yet. https://github.com/floooh/sokol-odin/blob/084c2429bd52b8d9dc...
  3. …bindings of C libraries that feel as if they were native Odin libraries WITHOUT any wrappers: * https://github.com/floooh/sokol-odin/blob/main/sokol/gfx/gfx... (and the rest) * https://pkg.odin-lang.org/vendor/sdl2/ and…
    comment by gingerBill · 2024-01-02 · in Odin Programming Language
  4. …Nim: https://github.com/floooh/sokol-nim/tree/master/examples Odin: https://github.com/floooh/sokol-odin/tree/main/examples Rust: https://github.com/floooh/sokol-rust/tree/main/examples
    comment by flohofwoe · 2023-08-01 · in Nim 2.0
  5. I'm actually dabbling with Odin a bit in the scope of language bindings for the sokol headers: https://github.com/floooh/sokol-odin It's a very enjoyable language!
    comment by flohofwoe · 2023-06-01 · in Zig is hard but worth it
  6. …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 libraries: https://github.com/floooh/sokol
  7. …thought out, down to defining things like linker dependencies in the code. For instance see here: https://github.com/floooh/sokol-odin/blob/main/sokol/gfx/gfx... The only minor downside (compared to Zig) is that Odin still requires a…
    comment by flohofwoe · 2022-08-28 · in I like Odin