News for hackers. Stuff that matters.
Re:Ask HN - Why was there ever, fork() ? by cousin_it on Tuesday October 06, 2009 @07:58AM (#863926)
Except fork() doesn't do what CreateProcess() does. I'd actually be pretty interested to see a fair comparison: a list of Unix system calls, with arguments, that covers all the functionality of CreateProcess(). Are you completely sure that it'll be smaller and more elegant?
Re:Ask HN - Why was there ever, fork() ? by abrahamsen on Tuesday October 06, 2009 @08:36AM (#863987)
Well, it is certainly the UNIX way. Have many simple tools that do simple stuff, plus the ability to combine them for doing complex operations, rather than few complex tools that do complex operations directly.

I'd say it is more elegant design, whether or not it results in smaller or more elegant code.

Re:Ask HN - Why was there ever, fork() ? by dhoe on Tuesday October 06, 2009 @08:22AM (#863956)
If you reimplement Windows in Unix, it's unlikely to be more elegant. The question is if that would be a good idea.