floooh/sokol-rust
View on GitHub ↗ ★ 122 C
Rust bindings for the sokol headers (https://github.com/floooh/sokol)
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2023-08-01 · latest 2026-02-20
20082026
-
…directly, it needs to go through an expression block. Finally Rust requires `..Default::default()`: https://github.com/floooh/sokol-rust/blob/f824cd740d2ac96691... Zig has most of the same issues as Rust, but at least the compiler is able…
comment by flohofwoe · 2026-02-20 · in Defer available in gcc and clang -
…like this a lot less noisy (Zig would suffer from the same problem if it hadn't the .{} syntax): https://github.com/floooh/sokol-rust/blob/main/examples/texc... ...C99 is still the 'benchmark' when it comes to struct initialization:…
comment by flohofwoe · 2025-08-11 · in Zig's Lovely Syntax