Writing a small ray tracer in Rust and Zig
> I wrapped my objects in atomic reference counters, and wrapped my pixel buffer in a mutexRust people, is there a way to tell the compiler that each thread gets its own elements? Do you really have to either (unnecessarily) add a lock or reach for unsafe?