Regex benchmarks in Rust, Scala, D and F#
Karthikeyan via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 5 10:18:54 PST 2016
On Tuesday, 5 January 2016 at 18:13:00 UTC, Martin DraĊĦar wrote:
> Dne 5.1.2016 v 19:09 deadalnix via Digitalmars-d napsal(a):
>> On Tuesday, 5 January 2016 at 17:52:39 UTC, Karthikeyan wrote:
>>> Hi,
>>>
>>> Came across this post in rust-lang subreddit about the regex
>>> benchamrks. Scala surprisingly outperforms D. LDC also gives
>>> a good advantage for efficiency of D.
>>>
>>> http://vaskir.blogspot.ru/2015/09/regular-expressions-rust-vs-f.html
>>
>> I'm willing to bet the bad result D has come from the use of
>> DMD.
>>
>> Honestly, pushing DMD as the reference implementation cost us
>> quite a lot on the PR side of things. D appears to be slower
>> that it really is.
>
> To be fair, they have results for DMD and LDC:
>
> regex - 10.6 s (DMD), 7.8 s (LDC)
> ctRegex! - 6.9 s (DMD), 6.6 s (LDC)
>
> Although no information about compiler switches.
Relevant reddit
discussion.https://www.reddit.com/r/rust/comments/3zh95h/regular_expressions_rust_vs_f_vs_scala_vs_d/
More information about the Digitalmars-d
mailing list