News for hackers. Stuff that matters.
Re:Making Rust as Fast as Go by jeffdavis on Sunday May 03, 2020 @03:05PM (#23061112)
I wouldn't put it that way. Both languages are fast at nice straight-line code.

The main area I'd expect to see performance benefits for rust (though I don't have experience here) is larger rust programs. Rust's zero-cost abstractions have more benefits as the abstractions nest more deeply. For a small program, you don't really have a lot of abstractions, so Go will do just fine.

I think Go has a number of nice performance tricks up it's sleeve, though, so I wouldn't rule out Go on performance grounds too quickly.

There are no comments on this comment yet.