5 ms·
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.
by steveklabnik 11y ago
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.
- jamii 11y agoIt 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.
- burntsushi 11y ago> 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.
- igouy 11y agoLet'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 https://news.ycombinator.com/item?id=9565405 edit: Please provide a better response than downmods.
- pcwalton 11y agoOptimizing language performance has been a focus. Optimizing the workloads tested on the benchmarks game has not been a focus.
- igouy 11y agoYou seem to have a disagreement with what steveklabnik said, so please take that up with him. https://news.ycombinator.com/item?id=9554676 https://news.ycombinator.com/item?id=9554676 edit: Please provide a better response than downmods.
- ben0x539 11y agoPlease provide better manners than those in your comments. :)
- igouy 11y agoIt 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 https://news.ycombinator.com/item?id=9554676