Rust programs versus Go
benchmarksgame-team.pages.debian.net
Rust programs versus Go
1–10 of 209 posts
Re: Rust programs versus Go
#2Re: Rust programs versus Go
#3I think pitting Go against Rust is somewhat inflammatory but if you look at the Rust vs. C++ benchmark the results are much more similar: https://benchmarksgame-team.pages.debian.net/benchmarksgame/... so clearly it's not Rust doing something right, it's the Go implementation doing something wrong. Actually even Java fares (mostly) better: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Re: Rust programs versus Go
#4 simplicity
source brain load
Rust 95%
Go 23%Re: Rust programs versus Go
#5Re: Rust programs versus Go
#6Also, though one of golangs target was to get close to c-like performance, they never intended to be the "performance-killer" since the focus is also strong simplicity and productiveness.
More info: https://golang.org/doc/faq#Why_does_Go_perform_badly_on_benc...
Re: Rust programs versus Go
#7I expect Rust to be faster than Go as a rule because of its somewhat lower level nature and cost-less "unmanaged" abstractions but I didn't expect it to be a full order of magnitude faster than Go for some benchmarks. Are the Go snippets not properly optimized or is there something else going on? I think pitting Go against Rust is somewhat inflammatory but if you look at the Rust vs. C++ benchmark the results are muc…
Re: Rust programs versus Go
#8simplicity source brain load Rust 95% Go 23%
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
I don't find the code complexity obviously worse for the Rust version, yet it runs a full order of magnitude faster in this benchmark.
Re: Rust programs versus Go
#9I expect Rust to be faster than Go as a rule because of its somewhat lower level nature and cost-less "unmanaged" abstractions but I didn't expect it to be a full order of magnitude faster than Go for some benchmarks. Are the Go snippets not properly optimized or is there something else going on? I think pitting Go against Rust is somewhat inflammatory but if you look at the Rust vs. C++ benchmark the results are muc…
Re: Rust programs versus Go
#10For another perspective, look at Go versus Python: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...