4 ms·
The zero-cost abstractions is a bit of a tangent, but connected: Using Electron, running an extremely-optimised search algorithm and displaying results takes 2
by Shish2k 3y ago
The zero-cost abstractions is a bit of a tangent, but connected:
Using Electron, running an extremely-optimised search algorithm and displaying results takes 200ms
Using Rust, running a hopelessly naieve algorithm takes 1s; but a slightly-optimised-and-still-very-clean algorithm (which is built out of zero-cost abstractions) takes 4ms