← All projects
Project record01 mention
Originally shared on Hacker News

Sandlot

Sandlot is a Rust wrapper around SDL3 that enforces lifetimes and provides an idiomatic Rust interface, reducing opportunities for footguns compared to using SDL3 directly.

Last shared
01 / The problem

What it addresses

SDL3's raw interface leaves room for lifetime errors and other footguns when used from Rust.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Sandlot

    Sandlot is a Rust wrapper around SDL3 that enforces lifetimes and provides an idiomatic Rust interface, reducing opportunities for footguns compared to using SDL3 directly.

    Problem: SDL3's raw interface leaves room for lifetime errors and other footguns when used from Rust.

    Posted by @lyorig · Original comment ↗

    “Currently iterating on Sandlot, an SDL3 wrapper in Rust that enforces lifetimes and generally offers an idiomatic Rust interface with less opportunities to shoot yourself in the foot.”