4 ms·
TBH, Rust's other extreme of never converting any numeric type anywhere is also annoying, and leads to overuse of casts and/or accidental truncation. Fortunate
by pornel 7y ago
TBH, Rust's other extreme of never converting any numeric type anywhere is also annoying, and leads to overuse of casts and/or accidental truncation.
Fortunately, memory allocation in Rust is easier, and the whole `malloc(elem * size)` chore just doesn't exist.