Re: On the D Blog: Lomuto's Comeback

2020-08-04 Thread Iain Buclaw via Digitalmars-d-announce
On 04/08/2020 03:14, Andrei Alexandrescu wrote: > Interesting, thanks! > Did a quick benchmark for n in `seq 1 10` ./lomuto.exe ${n}00... gdc-baseline: min_milliseconds=53.2922 median_milliseconds=56.8761 min_milliseconds=111.2512 median_milliseconds=115.5812 min_milliseconds=168.8659

MetaCall Polyglot is now available form D

2020-08-04 Thread Vicente Eduardo Ferrer Garcia via Digitalmars-d-announce
Hey guys I am working on an open source polyglot called MetaCall which allows calling functions between languages. Recently a contributor has implemented support for DLang (Port), which means you can use MetaCall from D to call functions in C#, NodeJS, JavaScript, TypeScript, Ruby, Python,

Re: Release of std.io v0.3.0

2020-08-04 Thread Dejan Lekic via Digitalmars-d-announce
On Sunday, 26 July 2020 at 17:09:07 UTC, Steven Schveighoffer wrote: I have released a minor improvement to std.io [1], which adds support for opening the standard handles (stdin, stdout, stderr) [2]. I always hoped, since the stream package has been deprecated, that std.io will get merged

Re: On the D Blog: Lomuto's Comeback

2020-08-04 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 8/4/20 9:49 AM, Andrei Alexandrescu wrote: On 8/4/20 4:19 AM, Iain Buclaw wrote: On 04/08/2020 03:14, Andrei Alexandrescu wrote: Interesting, thanks! Did a quick benchmark for n in `seq 1 10` ./lomuto.exe ${n}00... [snip] Looks good, so committing patch. :-) Awesome, thanks! That

Re: On the D Blog: Lomuto's Comeback

2020-08-04 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 8/4/20 4:19 AM, Iain Buclaw wrote: On 04/08/2020 03:14, Andrei Alexandrescu wrote: Interesting, thanks! Did a quick benchmark for n in `seq 1 10` ./lomuto.exe ${n}00... [snip] Looks good, so committing patch. :-) Awesome, thanks! That does solve a puzzler I had while benchmarking.