Re:A Quick Comparison of Nim vs. Rust
by arthurtw on Wednesday January 14, 2015 @01:01AM
(#8884586)
Oh, my bad. The numbers differ a lot (2~2.5x faster). I’ve updated the article.
[ Parent
| on HN ]
Now it's more in line with my experience of Nim usually being quite a bit faster than Rust, not to mention much easier to write and less verbose (text munging code in Rust seemed to be about 15% calls to as_slice() and to_string ()).
The as_slice situation was acknowledged to be deplorable, and is being vastly improved in the runup to 1.0.
As for speed, please file a performance bug! We love to know where we're missing out on optimizations.