3 ms·
Up to a point. Fork+exec is a very blunt instrument; sshd can piggyback on the unix security model because every ssh connection belongs to a user with a local u
by lmm 12y ago
Up to a point. Fork+exec is a very blunt instrument; sshd can piggyback on the unix security model because every ssh connection belongs to a user with a local user account and (usually) has the authority to do everything that that local user account may do. That wouldn't be true for a webserver.
Of course ultimately you can Greenspun any language to do what any other language can. But in practice a language where the vocabulary already exists - where you have higher-kinded types and existing generic libraries for handling when a value has a particular "context" - makes it much more practical.