Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2023 (1)
20082026
  1. …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
  2. …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
  3. …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