On Friday, 14 July 2017 at 13:29:30 UTC, Joakim wrote:
Yes, D's compile-time regex are still the fastest in the world.
I've been benching it recently for a marketing-oriented blog
post I'm preparing for the official D blog, std.regex beats out
the top C and Rust entries from the benchmarks game on
linux/x64 with a single core:
http://benchmarksgame.alioth.debian.org/u64q/regexredux.html
https://github.com/joakim-noah/regex-bench
D comes in third on Android/ARM, but not far behind, suggesting
it would still be third on that list if run with a bunch of
other languages on mobile. Dmitry thinks it might be alignment
issues, the bane of cross-platform, high-performance code on
ARM, as he hasn't optimized his regex code for ARM.
Do you plan to implement a version for the fastest benchmark
"n-body"
(http://benchmarksgame.alioth.debian.org/u64q/nbody.html) as well?
Adding D to the performance comparison of
https://github.com/derekmolloy/exploringBB/tree/master/chp05/performance (companion code to the book "Exploring BeagleBone - Tools and Techniques For Building With Embedded Linux") could be good promotion in the embedded domain (where performance, Linux compatibility and code maintainability matters).