delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/02/15:20:07

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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=k4fche9GI72Hh12io1QqXzp5wMOR
cyPawxvOcveabdJGHWvR1q5d3uLWKnRewrxjtI6OZDyEUeKevwf4uY7FUSvSdaBZ
LeWK+moP2zJKrua8LQf+SFi22IxgvTE+LJ0xqZExHeggx+Hols3o9pp4IitTmJCb
Uv4Y3XBdUsWPD24=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=2TSMTnyvcF9+otrV6VHsQId5rDw=; b=MN
gmhgDuQJ931UUAWKQ7UF552sDlMc0VEZ9C4myJlAVPvTMPigDJfLKkBRI1oBpry2
6t0AQtQ+C07jgQ+WQDz6LLHaVuGV5lE2NCCFF2MgHzCIcwRCApec18Mrg8B030pL
NJGxi9N7n5DcpmlDMc9aqXUPOtUIt8Y55+XC4yx+M=
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.2 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
Subject: Re: libuv
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <CAA65N5xBP-GoC5MfYc7xvBFMLunCT8nP08NcPZmY4mNfgNm6+Q@mail.gmail.com>
Date: Wed, 2 Dec 2015 13:19:45 -0700
Message-Id: <0406F72A-120B-425D-A0B1-0FB7598113F1@etr-usa.com>
References: <CAA65N5xBP-GoC5MfYc7xvBFMLunCT8nP08NcPZmY4mNfgNm6+Q AT mail DOT gmail DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tB2KK3U0011095

On Dec 2, 2015, at 12:32 PM, Mr. Coin <canard AT canard DOT ch> wrote:
> 
> Lots of project such as node.js or neovim are using libuv
> which is incompatible with Cygwin.

Why are you trying to stack two I/O abstraction layers?  The whole point of libuv is that it lets you use the same code on *ix and Windows.  Why do you also need Cygwin?

I realize that libuv doesn’t completely abstract the platform, but there are a bunch of libraries that you can use together to achieve that.  libapr for general OS facilities, Qt/Gtk for GUIs, etc.

Presumably you’re interested in libuv rather than select(2) because you need the code to be really fast and scalable.  So again, why bring Cygwin into it?  That’s just going to eat up a bunch of the speed you gained by using advanced I/O polling mechanisms.

If you’re just trying to get node running, why not use the native binaries?
--
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