4 ms·
As in all things--sometimes. One thing in particular that is gratuitously difficult in Rust is to do some very expensive runtime initialization, place the resu
by bsder 4y ago
As in all things--sometimes.
One thing in particular that is gratuitously difficult in Rust is to do some very expensive runtime initialization, place the result into static memory, and then do read-only things to that memory after it is initialized.
Rust really does not like that pattern (it always wants you wrap that and takes locks to it with the associated performance hit) and yet it is an extremely common thing to need to do (embedded communication stacks, graphics card shaders, etc.).