News for hackers. Stuff that matters.
Re:Writing a website in Rust by steveklabnik on Saturday May 30, 2015 @02:30PM (#9631205)
We've been focused more on language semantics than the Benchmarks Game for a while now. A few months ago, iirc, we were faster than C on some of them.
Re:Writing a website in Rust by jamii on Saturday May 30, 2015 @02:48PM (#9631287)
It looks like the worst offenders (vs C) are regex-dna (which is a young regex + unicode vs pcre + ascii) and fasta (where the rust version is still single-core). The others are at 1-2x cpu and on par for memory. I suspect most of them could be on par or better with a little effort - only regex looks hard.
Re:Writing a website in Rust by burntsushi on Saturday May 30, 2015 @10:23PM (#9632771)
> only regex looks hard.

I'm working on improving the regex engine now. Hopefully I can submit some improvements soon. :-) It will be hard to get near the top, but I think there's some low hanging fruit I can tackle first.

Re:Writing a website in Rust by igouy on Saturday May 30, 2015 @07:15PM (#9632218)
Let's not make this about the benchmarks game.

A couple of weeks ago you said -- "… optimizing performance hasn't been a focus, shipping good language semantics has been."

https://news.ycombinator.com/item?id=9565405

edit: Please provide a better response than downmods.

Re:Writing a website in Rust by pcwalton on Saturday May 30, 2015 @07:28PM (#9632271)
Optimizing language performance has been a focus.

Optimizing the workloads tested on the benchmarks game has not been a focus.

Re:Writing a website in Rust by igouy on Saturday May 30, 2015 @08:00PM (#9632385)
You seem to have a disagreement with what steveklabnik said, so please take that up with him.

https://news.ycombinator.com/item?id=9554676

edit: Please provide a better response than downmods.

Re:Writing a website in Rust by ben0x539 on Sunday May 31, 2015 @06:44AM (#9633775)
Please provide better manners than those in your comments. :)
Re:Writing a website in Rust by igouy on Sunday May 31, 2015 @08:53AM (#9633999)
It isn't bad manners to ask Rusky or pcwalton to show measurements in support of their claims.

It isn't bad manners to trust that when steveklabnik answers "No, as optimizing performance hasn't been a focus, shipping good language semantics has been." that's what he means.

https://news.ycombinator.com/item?id=9554676