From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: windows installer Date: Fri, 17 Nov 2017 08:22:52 +0100 Message-ID: References: <87po99qzbn.fsf@russet.org.uk> <1509955878.550800.1162811960.541B525D@webmail.messagingengine.com> <87h8u6bae3.fsf@russet.org.uk> <1510126271.1965593.1165373624.0601E5CF@webmail.messagingengine.com> <8760aijcek.fsf@russet.org.uk> <83ineiotjr.fsf@gnu.org> <3f972e79-afcd-4f92-a283-41fad4b687fb@default> <83efp5p8km.fsf@gnu.org> <87a7zpbxza.fsf@russet.org.uk> <87375eqjy0.fsf@russet.org.uk> <83lgj6i451.fsf@gnu.org> <83k1yqi2kn.fsf@gnu.org> <83ineai0mj.fsf@gnu.org> <83bmk1idgj.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f4030435be2c12eb6d055e289cf2" X-Trace: blaine.gmane.org 1510903484 10022 195.159.176.226 (17 Nov 2017 07:24:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Nov 2017 07:24:44 +0000 (UTC) Cc: Emacs developers , Richard Copley , =?UTF-8?Q?Jostein_Kj=C3=B8nigsen?= , =?UTF-8?Q?Jostein_Kj=C3=B8nigsen?= , Drew Adams , Phillip Lord To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 17 08:24:40 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFb0u-00025L-S8 for ged-emacs-devel@m.gmane.org; Fri, 17 Nov 2017 08:24:37 +0100 Original-Received: from localhost ([::1]:44288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFb12-000303-8l for ged-emacs-devel@m.gmane.org; Fri, 17 Nov 2017 02:24:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFazd-00022f-AT for emacs-devel@gnu.org; Fri, 17 Nov 2017 02:23:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFazc-00051H-Cd for emacs-devel@gnu.org; Fri, 17 Nov 2017 02:23:17 -0500 Original-Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]:43637) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFaza-0004zm-Qr; Fri, 17 Nov 2017 02:23:14 -0500 Original-Received: by mail-qt0-x229.google.com with SMTP id n61so3795343qte.10; Thu, 16 Nov 2017 23:23:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=riK7BtVsKvR6WaM1hIFe6NLibptcbWt5tXzaDmmLcNk=; b=k0g6FY53GI9ZRIMlaltKgX2Npv8kvLJGs7qwVX9egyg7sQKVjzSyOkDH80mL7R0rdu lhajUqp2AA0Bfn+XQG+foqWKJlHGt1gD5c2VsydkG9FBLy1lxA1HJJTmRsL+RnnghHz7 nR4mN8m41DDygsw4MsUNHB3c2KHpwdUDSXdMZ/33U7wdqmBn2nipu27tQ504ZGUsGFb6 GQS1LnGaC5fNn7yphnHNgz0ExCx4Hd/DPKlSHdxpuWy3MBFPyt6YIZgaDphjEFLcS9Cw Brd/NFkJLYJTul8qMA118OGC1YLw7ww+vCmPUnqKtZ8a1I5ErUjmC6txrry3c99lmKyz THHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=riK7BtVsKvR6WaM1hIFe6NLibptcbWt5tXzaDmmLcNk=; b=rksO788rqNT7Y1e8u4BPGTVnIws57w12BEP+uQ67FCrzob7pb4HiWNkad+/j4KHbEa MGMc4IJ+av8uEeuAVSMx4T39FPCqxhL2bqKG+AiQbxLA+M6cAt9W2eWWHGhhjhjGbBJq HXodca4S/UghLLT39oPG4N42phuAf/vT08J8M/3IAWxsvKllYac09EWRtChYMulcZ1L9 /clM4yhIt/WU9ZmsgvSpjbj8jeVmic/j97fCjX++VfzCyLTqwdDhG7zQCIwBWNu7hAgD zEUjb/e7mCS7Tphqo2e3JRoF9S3U6ZwHuv/DzFvMGBBaWmVsFaWvqij0DPRYNrP2MWLU 31yQ== X-Gm-Message-State: AJaThX4xmYkFPPeZYnMbUrNbD6T18OBgPad2mPwAy2hhVxBDzGL08DNu hNRhSgLlGCgqGdrI2kNt6PuhNh4f8ylbqzOSEK8= X-Google-Smtp-Source: AGs4zMYALN4yNwjLgRBnynLto1IqEfpjzNtxkO4NlE2V2J/tdT17F4lMFQznJGf+S2q9uVhPas/WkqhDCs2s8+6hLdQ= X-Received: by 10.200.4.154 with SMTP id s26mr7176832qtg.156.1510903393740; Thu, 16 Nov 2017 23:23:13 -0800 (PST) Original-Received: by 10.140.88.241 with HTTP; Thu, 16 Nov 2017 23:22:52 -0800 (PST) In-Reply-To: <83bmk1idgj.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220242 Archived-At: --f4030435be2c12eb6d055e289cf2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2017-11-17 8:14 GMT+01:00 Eli Zaretskii : > > From: Richard Copley > > Date: Thu, 16 Nov 2017 20:45:36 +0000 > > Cc: Eli Zaretskii , Jostein Kj=C3=B8nigsen < > jostein@secure.kjonigsen.net>, > > Emacs developers , Jostein Kj=C3=B8nigsen < > jostein@kjonigsen.net>, > > Drew Adams , Phillip Lord < > phillip.lord@russet.org.uk> > > > > 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. --f4030435be2c12eb6d055e289cf2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2017-11-17 8:14 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
=
> From: Richard Copley <rcopley@gmail.com>
> Date: Thu, 16 Nov 2017 20:45:36 +0000
> Cc: Eli Zaretskii <eliz@gnu.org= >, Jostein Kj=C3=B8nigsen <jostein@secure.kjonigsen.net>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Emacs developers <emacs-devel@gnu.org>, Jostein Kj=C3=B8nigsen <jostein@kjonigsen.net>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Drew Adams <drew.adams@oracle.com>, Phillip Lord <phillip.lord@russet.org.uk>
>
> Windows is ridiculously slow to start a new process.

You mean Cygwin and MSYS, not Windows itself, right?=C2=A0 Because 9= 9.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 consol= e,=C2=A0
checking permissions and stuff like that, which fork() d= oes in a very different way.
Windows has been designed for dlls a= nd inter-dlls calls, not for processes communicating
the way Unix= did.


--f4030435be2c12eb6d055e289cf2--