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
20082026
-
…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 -
…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...
comment by flohofwoe · 2024-01-02 · in Zig cookbook: collection of simple Zig programs that demonstrate good practices -
…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 -
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 -
…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
comment by flohofwoe · 2022-10-13 · in Tinyphysicsengine: Minimalist 3D C99 single-header physics engine -
…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