How can I use D to develop web application?

Jose Armando Garcia jsancio at gmail.com
Sat Sep 24 23:41:22 PDT 2011


On Tue, Sep 13, 2011 at 7:08 PM, Andrew Wiley <wiley.andrew.j at gmail.com> wrote:
> On Tue, Sep 13, 2011 at 8:54 PM, zsxxsz <zsxxsz at 263.net> wrote:
>> == Quote from Adam Ruppe (destructionator at gmail.com)'s article
>>> zsxxsz wrote:
>>> > The fork process is expensive for any OS.
>>> Have you actually measured this?
>> Yes, I'm sure. Fork on UNIX or CreateProcess on Win32 are expensive.
>
> Interestingly enough, this benchmark conducted ~10 years ago on a
> Pentium 3 found that Fork took less than a millisecond on Linux 2.6:
> http://bulk.fefe.de/scalability/
>

Fork creates a child process with an copy of the parent process. Yes,
this is very fast on any decent operating system. For cgi to work I am
pretty sure you have to call execve which transform a process into
another process. That link doesn't measure performance for execve...


More information about the Digitalmars-d mailing list