3 ms·
The D example is also safe. The difference is that the D example doesn't generalize (yet), whereas the Rust example does.
by Manishearth 10y ago
The D example is also safe. The difference is that the D example doesn't generalize (yet), whereas the Rust example does.