Re: iopipe v0.0.4 - RingBuffers!

2018-05-12 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/12/2018 08:14 AM, Steven Schveighoffer wrote: But I am not expecting any miracles here. GNU grep does pretty much everything it can to achieve performance -- including eschewing the standard library buffering system as I am doing. I can probably match the performance at some point, but

Re: iopipe v0.0.4 - RingBuffers!

2018-05-12 Thread Steven Schveighoffer via Digitalmars-d-announce
On 5/12/18 3:38 PM, Patrick Schluter wrote: On Thursday, 10 May 2018 at 23:22:02 UTC, Steven Schveighoffer wrote: OK, so at dconf I spoke with a few very smart guys about how I can use mmap to make a zero-copy buffer. And I implemented this on the plane ride home. [...] They can be problema

Re: autowrap v0.0.1 - Automatically wrap existing D code for use in Python and Excel

2018-05-12 Thread Nikos via Digitalmars-d-announce
On Friday, 11 May 2018 at 14:16:15 UTC, Atila Neves wrote: On Thursday, 10 May 2018 at 19:50:40 UTC, Nikos wrote: In my dub.sdl file I have configuration "python35" { subConfiguration "autowrap" "python35" } and I run dub build --config=python35 which still tries to find python36. Why d

Re: iopipe v0.0.4 - RingBuffers!

2018-05-12 Thread Patrick Schluter via Digitalmars-d-announce
On Friday, 11 May 2018 at 16:06:41 UTC, Jonathan M Davis wrote: [...] Oh, there had been an epic forum thread about the use of GNU grep for BSD. i don't remember the details but it was long and heated (it was so epic that I even read it as I normaly don't care at all for BSD stuff).

Re: iopipe v0.0.4 - RingBuffers!

2018-05-12 Thread Patrick Schluter via Digitalmars-d-announce
On Thursday, 10 May 2018 at 23:22:02 UTC, Steven Schveighoffer wrote: OK, so at dconf I spoke with a few very smart guys about how I can use mmap to make a zero-copy buffer. And I implemented this on the plane ride home. [...] They can be problematic with some CPU's and OS's. For modern CPU

Re: iopipe v0.0.4 - RingBuffers!

2018-05-12 Thread Dmitry Olshansky via Digitalmars-d-announce
On Saturday, 12 May 2018 at 14:48:58 UTC, Joakim wrote: On Saturday, 12 May 2018 at 12:45:16 UTC, Dmitry Olshansky wrote: On Saturday, 12 May 2018 at 12:14:28 UTC, Steven Schveighoffer wrote: [...] I could offer a few tricks to fix that w/o getting too dirty. GNU grep is fast, but std.regex

Re: iopipe v0.0.4 - RingBuffers!

2018-05-12 Thread Joakim via Digitalmars-d-announce
On Saturday, 12 May 2018 at 12:45:16 UTC, Dmitry Olshansky wrote: On Saturday, 12 May 2018 at 12:14:28 UTC, Steven Schveighoffer wrote: [...] I could offer a few tricks to fix that w/o getting too dirty. GNU grep is fast, but std.regex is faster then that in raw speed on a significant class

Re: iopipe v0.0.4 - RingBuffers!

2018-05-12 Thread Dmitry Olshansky via Digitalmars-d-announce
On Saturday, 12 May 2018 at 12:14:28 UTC, Steven Schveighoffer wrote: On 5/11/18 5:42 PM, Joakim wrote: On Friday, 11 May 2018 at 16:07:26 UTC, Steven Schveighoffer wrote: [...] What stops you from downloading a linux release from here? https://github.com/ldc-developers/ldc/releases So I d

Re: iopipe v0.0.4 - RingBuffers!

2018-05-12 Thread Steven Schveighoffer via Digitalmars-d-announce
On 5/11/18 5:42 PM, Joakim wrote: On Friday, 11 May 2018 at 16:07:26 UTC, Steven Schveighoffer wrote: On 5/11/18 11:44 AM, Steven Schveighoffer wrote: On 5/10/18 7:22 PM, Steven Schveighoffer wrote: [...] Shameful note: Macos grep is BSD grep, and is not NEARLY as fast as GNU grep, which h