|
|
|
|
|
by leethaxor
1295 days ago
|
|
So you're saying they wrote exactly the same program in Go and Rust for the comparison, changing the syntax only? Well then it's no surprise the Go version was faster. Don't write Rust as if it was Go. That doesn't say anything meaningful about either Go or Rust. |
|
I'm not trying to say Go is faster than Rust, it's usually slower. But there are always exceptions to the rule. The Go code, on the other hand, is usually simpler and quicker to write. For that reason I'd prefer Go if the problem lends itself to a garbage collected language.