Sailor

August 5, 2026 ยท View on GitHub

A sailing navigation application.

screenshot

Building

wgpu picks the backend automatically (Vulkan on Linux/Windows, Metal on macOS), so the build is the same everywhere:

cargo build --bin sailor

A nix dev shell with the pinned Rust toolchain is provided:

nix develop

Debug the Zurich Landesmuseeum tile

cargo run --release -- -t 14/8580/5737

Use any number of -t args to load multiple tiles. If no args are passed, load a full map.

Profiling heap on macOS with Instruments

Install cargo-instruments

brew install cargo-instruments

Run cargo instruments -t Allocations --release --time-limit 30000 and look at the generated trace in target/instruments.