[phobos] Removing std.stdio.File.popen()
Andrei Alexandrescu
andrei at erdani.com
Wed Aug 18 02:56:07 PDT 2010
On 08/18/2010 04:44 AM, Lars Tandle Kyllingstad wrote:
> On Wed, 2010-08-18 at 11:10 +0200, Lars Tandle Kyllingstad wrote:
>> On Wed, 2010-08-18 at 10:17 +0200, Lars Tandle Kyllingstad wrote:
>>> On Tue, 2010-08-17 at 23:46 -0500, Andrei Alexandrescu wrote:
>>>> Incidentally a colleague of mine mentioned today a much faster
>>>> implementation of popen():
>>>>
>>>> http://blog.famzah.net/2009/11/20/a-much-faster-popen-and-system-implementation-for-linux/
>>>>
>>>> http://code.google.com/p/popen-noshell/
>>>>
>>>> We should get that in Phobos.
>>>
>>> This is very useful information! I'll see if this can be incorporated
>>> in the new std.process.
>>
>> I had a more thorough look at it now, and from what I can understand,
>> this trick trades safety for speed.
>
> Forget it. execve() takes care of creating a new memory space. I'll
> definitely add this to std.process.
There we go. Sorry for the noise.
Andrei
More information about the phobos
mailing list