[TUHS] [COFF] Re: On Bloat and the Idea of Small Specialized Tools

Larry McVoy lm at mcvoy.com
Mon May 13 05:47:07 AEST 2024


On Sun, May 12, 2024 at 12:34:20PM -0700, Adam Thornton wrote:
> But it does come down to the same argument as
> https://www.microsoft.com/en-us/research/uploads/prod/2019/04/fork-hotos19.pdf
> 
> And it is true that while fork() is a great model for single-threaded
> pipeline-looking tasks, it's not really what you want for an interactive
> multithreaded application on your phone's GUI.

Perhaps a meaningless aside, but I agree on fork().  In the last major
project I did, which was cross platform {windows,macos, all the major
Unices, Linux}, we adopted spawn() rather than fork/exec.  There is no way
(that I know of) to fake fork() on Windows but it's easy to fake spawn().

--lm


More information about the TUHS mailing list