emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windows installer


From: Eli Zaretskii
Subject: Re: windows installer
Date: Fri, 17 Nov 2017 09:35:26 +0200

> From: Fabrice Popineau <address@hidden>
> Date: Fri, 17 Nov 2017 08:22:52 +0100
> Cc: Richard Copley <address@hidden>, Jostein Kjønigsen <address@hidden>, 
>       Emacs developers <address@hidden>, Jostein Kjønigsen <address@hidden>, 
>       Drew Adams <address@hidden>, Phillip Lord <address@hidden>
> 
>  > Windows is ridiculously slow to start a new process.
> 
>  You mean Cygwin and MSYS, not Windows itself, right?  Because 99.99%
>  of process starting during the build is MSYS Bash starting GCC, Grep,
>  Find, and other programs.
> 
> Actually, it is the CreateProcess() call which is overkill for most of its 
> usages.
> From what I have read, the problem comes from attaching default console, 
> checking permissions and stuff like that, which fork() does in a very 
> different way.
> Windows has been designed for dlls and inter-dlls calls, not for processes 
> communicating
> the way Unix did.

AFAIK, Cygwin (and therefore MSYS) makes this much more expensive due
to fork emulation.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]