5 ms·
If you enable optimizations it gets reduced to 200 lines. C++ -O1 reduces it to 30 lines of ASM. Both are awful, just do normal Rust or use something else entir
by doodlesdev 4y ago
If you enable optimizations it gets reduced to 200 lines. C++ -O1 reduces it to 30 lines of ASM. Both are awful, just do normal Rust or use something else entirely.
I also believe they would be much closer if the C++ example used shared pointer.