delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/15/07:12:49

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:message-id:in-reply-to:references
:subject:mime-version:content-type:content-transfer-encoding; q=
dns; s=default; b=YMOEHSJtwbZ+LW770HQUU5QoDnMhl2FnzzS7P5uwJ1e2Up
25rckcGoTsr61rRfgtuAiJTav0TPOabfCJG69kbVMYvlyAOX6YYKZ6Jx1JmlBDKD
hVsY6KuMgKfQf0rzIed4exCxpIn5yVqZ6UBO24CvCgTRJ3ZxFM0hZjnxff3Q0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:message-id:in-reply-to:references
:subject:mime-version:content-type:content-transfer-encoding; s=
default; bh=hFn0/lRsxFEUTONZ+TjjjqwbZXM=; b=kJN25G4nuvncwolfwy2f
jAVfEC7rRkFoq7Vsagic0ytTJvKyeLCmDKYhryU06np/A+Jdk+0bLrxwd5qBkJK/
oItPmIs6VZWFqyqSu5PIgQXMUHiISieIZqc7lFivlaMEwFhYTl5G07szUm57TK0P
ylGZl7VrDqlx/DgkghGgTvk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=D*gov, sk:schulma, schulman DOT andrew AT epa DOT gov, schulmanandrewepagov
X-HELO: mout.kundenserver.de
Date: Fri, 15 Apr 2016 13:12:12 +0200 (CEST)
From: Tobias Zawada <i_inbox AT tn-home DOT de>
To: cygwin AT cygwin DOT com
Message-ID: <578189904.469700.961ea0e5-8785-4a9b-803a-599a405ed7c7.open-xchange@email.1und1.de>
In-Reply-To: <70rpgbh81o3fkrdgh8ldh2hmon25ihnr1s@4ax.com>
References: <70rpgbh81o3fkrdgh8ldh2hmon25ihnr1s AT 4ax DOT com>
Subject: Re: native Linux userland in Windows 10
MIME-Version: 1.0
X-Originating-Client: open-xchange-appsuite
X-UI-Out-Filterresults: notjunk:1;V01:K0:PMGL64waZgU=:cgBETJNM11HTedZoJOekm3 FCxqxuUdywxFBb/12PuiKrgYmFbOOtwcNv1A05Y28jLTF5Z5jsuHr1HJWAotSGUvGa3L5OkA3 w+Ek4OmwcKK4Ssuf6xbHiYVZRgeAZBXnIWdjfIGNbYvBZ028ZQAwPeTTW8xRi6IU/KucZrQxm 5TrsYnDkLzxf9Vu1zJA9LWwpLwWceY1ucufPxhpgfv6+r/COMXE1LUh+nomHKnAfgcqBAsrma 6015Uk7imC/ujTf5JvwsEcIunKCoSxgbOWLTDhPbJ7cxFK6QCUZNy+2YzDpv2kRUA0apujphI uyjq9DldTTHHa5+QOvTiafCw536DBE4JYZ0FmSJ6eyiL3ryXxOddNAEASWEEx1h9IQ9NjDrGH 0AQ+CxIQicOYKg9BEbZYSVo4mLqUj1hXrhAQRnLZmLIlhDDZ8sd0jXxCC2lko0zELkiiE4PTV w0Eejsv62PVL0WsnS3fDqBNhNJQUUGARODfBiLfHHIMoOR0olux3pTrv6AYsUtYbUfLt26qT6 b9OjcIYbmq7CGfHT9KsfuteYjrAnB9IcDTVjePu6TgLl1E5flqRSOcRhd32Wi5C3FmAbUDGR1 sdLW+AToyMfV19zE0Vg2uAqW1msMCLPPzm7VJoO4a+TrxoEtlDEwRTroScfTJdgMLlpG41I0Y JRmU4/FZNttiblIP/IYhi6fZ64H4pkpE9yj/tWt8aKcU8UZHJ+yxbxg/zXY1A/STaYaWr7oKA 76bdh7KYPgU+ClQm
X-IsSubscribed: yes

Hello,

> Andrew Schulman <schulman DOT andrew AT epa DOT gov> 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, similar to the Cygwin DLL,
> to
> make this work. But unlike with Cygwin, Linux apps don't have to be rebuilt -
> they can run native 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.

There follows a small list of some points that distinguish cygwin from Windows
Subsystem for Linux (WSL) in my opinion.

 - There is no plan to add X11 or Mir (or any equivalent) to WSL.
   It is not possible to install X11 stuff since the grapical device drivers are
not ported.
 - Native windows applications cannot be started (yet?) from WSL.
 - Windows and WSL have separate users. (How do access rights work then?)

This list comes without any warranty. That are just items that I believe I've
read in the jungle of existing articles about this topic. I did not have the
opportunity to try WSL yet.

From my point of view it depends on the use case whether WSL or Cygwin is the
right choice for you.

One interesting use case concerns some of my co-workers. They automatically
generate source code for Linux with a Windows program and want to compile the
source code with gcc and test it. It seems to me that this is a good use case
for WSL.

On the other hand I am used to Unix and Linux environments but I have to develop
software under Windows at work. I want to be able to write my private notes on
numerics, physics and stuff like that in my Linux environment at home and under
Windows at work. This includes for an example LaTeX files, orgmode files with
octave, gnuplot, c++, and python snippets and so on. The easiest way to get this
all to work seamlessly is Cygwin for me. I cannot see how I could replace cygwin
with WSL if WSL does not integrate as nicely into Windows as Cygwin does and if
it does not support X11 or Mir.

With best regards,
Tobias Zawada

Remarks:
 1st: It would be nice if there existed a list of differences between WSL and
Cygwin in some wiki as a criterion for the decision which system to choose.
 2nd: It would be really nice if Microsoft would give Corinna more support with
fork and acl. For an instance Magit is not really usable for me on Cygwin.
(Somebody already mentioned something similar.)

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019