From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95253 invoked by alias); 12 Apr 2016 14:41:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 93442 invoked by uid 89); 12 Apr 2016 14:40:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Forums, daniels, Daniels, pty X-HELO: mail-lf0-f49.google.com Received: from mail-lf0-f49.google.com (HELO mail-lf0-f49.google.com) (209.85.215.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 12 Apr 2016 14:40:46 +0000 Received: by mail-lf0-f49.google.com with SMTP id g184so28291810lfb.3 for ; Tue, 12 Apr 2016 07:40:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=thYaYZPF6iqe1aCKNZTDNJEMOjGT3JHZ+FWojoez5Ag=; b=W9zJWiNVKodGV3q2769Oa8E3EDRm8iKB+Kox/eCtnY3D2JXDlO0dyNbn2k+rGrg0ZI fpkHE4RUwr9G714TTruFXilChQ0z9sciAcmQ47yEKhk5qskBZa+xbusQqviJODkZbmLp SBUi8O6eOYujYWDjtqhK5B2An7WQwckWqZn+peGLV2kg/RZ9bAMpF1+kCQAEI2WrIFxF oouL5/fRj4OHxzSIIvpEtPCiJaqqC/H682cMf0nQthaHam3IugRIawTyESLvtaejHu74 iRwNWmPjDTLZFVyzkPUoRA9kJHT4dzfmicmrvqcocpXN57VkFVfxpZHCY1fywYpHEgSG Mf7A== X-Gm-Message-State: AOPr4FVIVIb4+WoYqcxsAgqPLSAcgvnsEIX5kiyrMFla4iIdYksDFGWc/ar/GB6dHyo+SMRYMY1lycC37im4rA== MIME-Version: 1.0 X-Received: by 10.112.157.105 with SMTP id wl9mr1547564lbb.137.1460472043082; Tue, 12 Apr 2016 07:40:43 -0700 (PDT) Received: by 10.25.170.199 with HTTP; Tue, 12 Apr 2016 07:40:43 -0700 (PDT) In-Reply-To: <20160412134132.GP9870@calimero.vinschen.de> References: <70rpgbh81o3fkrdgh8ldh2hmon25ihnr1s@4ax.com> <570CF112.6060405@gmail.com> <20160412134132.GP9870@calimero.vinschen.de> Date: Tue, 12 Apr 2016 14:41:00 -0000 Message-ID: Subject: Re: native Linux userland in Windows 10 From: Philip Daniels To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00250.txt.bz2 This new Linux subsystem does have a fork() API call somewhere in either lxcore.sys or lxss.sys. Presumably lots of other Linux kernel APIs as well. It is interesting that this has popped up, though perhaps not as unexpected as many people think. Does anybody remember that a guy from Microsoft posted to this list last year about what it would take to implement a Unix style PTY in the command prompt (IIRC)? They have obviously been thinking about this for a while. One driver is that the need for cross-platform tooling is growing with the .Net Core project's aim to get it running on Linux. People will not want to maintain PowerShell scripts for Windows and Bash scripts for Linux, and since there is no chance of PowerShell running on Linux any time soon it was perhaps inevitable that something like this would happen. I am going to try and get it insalled (have had some problems finding an ISO!) just to check the speed of Magit in Emacs. It's unusably slow in Cygwin. On 12 April 2016 at 14:41, Corinna Vinschen wrote: > On Apr 12 14:58, Marco Atzeri wrote: >> On 12/04/2016 14:50, Andrew Schulman wrote: >> >By now I guess most of us have seen the reports of bash, and in fact a full >> >Linux userland, running natively in Windows 10: >> > >> >http://www.osnews.com/story/29149/Microsoft_and_Canonical_partner_to_bring_Ubuntu_to_Windows_10 >> >http://www.hanselman.com/blog/DevelopersCanRunBashShellAndUsermodeUbuntuLinuxBinariesOnWindows10.aspx >> >http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.html >> > >> >It's in beta release and doesn't seem to have been widely tested yet. Apparently >> >Microsoft has developed an API translation layer, simliar to the Cygwin DLL, to >> >make this work. But unlike with Cygwin, Linux apps don't have to be rebuilt - >> >they can run natively as-is in Windows 10. So you can get, allegedly, the full >> >Linux userland out-of-the-box. >> > >> >The first link cited above suggests that if this is all it claims to be, it >> >would remove the need for Cygwin. I can see the point. >> > >> >Has anyone had a chance to try this new feature? Does it work as well as is >> >claimed? >> > >> >I realize this may be strictly off-topic here, but it seems to me to be >> >potentially so important to the future of Cygwin that it's worth discussing here >> >insted of on cygwin-talk. >> > >> >Andrew >> >> >> Before W10 became the standard it will take some time. >> >> Considering the previous history of Microsoft with >> Windows Services for UNIX (SFU) , my feeling is >> >> https://en.wikipedia.org/wiki/Timeo_Danaos_et_dona_ferentes >> >> If they really would like to port Unix on MS, it will be enough to >> provide Corinna with a simple way to implement fork.... > > Huh, right. If only... > > https://social.msdn.microsoft.com/Forums/en-US/afdf1b68-1f3e-47f5-94cf-51e397afe073/ > > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Maintainer cygwin AT cygwin DOT com > Red Hat -- Philip Daniels. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple