Hacker News new | ask | show | jobs
Does Rust have an advantage if memory-safety is not an advantage? (sander.saares.eu)
4 points by iofiiiiiiiii 868 days ago
3 comments

Isn't replacement of complex patterns better served by generated regexes (and both .NET's built-in and Rust's most popular regex crate are very fast)?

(questioning whether this particular case is illustrative for the point the article makes)

Not seeing anything about if the C# code was compiled to native code using AOT.
> the Rust CPU time advantage is -75%.

This is in error.

The difference is -75% but the advantage is 75%.