News for hackers. Stuff that matters.
Re:A future for fork(2) by noselasd on Friday October 05, 2018 @08:48AM (#18147678)
I don't think we'll see the fork/exec semantics going away anyway soon - inheriting privileges/file-descriptors etc. in this way is quite core to all unix like OSs.

posix does provide posix_spawn() though, which an OS could implement in a more efficient way than fork()+exec().

Re:A future for fork(2) by cryptonector on Friday October 05, 2018 @12:26PM (#18149423)
It is usually implemented as vfork()+exec/exit.

Some OSes implement posix_spawn() as a system call. IIRC NetBSD has had that, and Solaris 12 has it too.

Re:A future for fork(2) by trasz on Saturday October 06, 2018 @07:43AM (#18154634)
OSX as well.
Re:A future for fork(2) by anticensor on Friday October 05, 2018 @09:08AM (#18147775)
exec() can remain as it is still useful, only fork needs to be deprecated as fork can be emulated by clone in common use cases.
Re:A future for fork(2) by pjmlp on Friday October 05, 2018 @09:37AM (#18147983)
Clone is a Linux only syscall.