3 ms·
> I don't see how better performance follows from the fact that something is written in Rust. Idiomatic Rust will often by 5-10x faster than very similar looki
by nicoburns 3y ago
> I don't see how better performance follows from the fact that something is written in Rust.
Idiomatic Rust will often by 5-10x faster than very similar looking JavaScript/TypeScript code without even trying to optimise it. It depends what you're doing, and this doesn't always apply. But parsers where you're doing a lot of string manipulation are one of the cases where it definitely does.