Most active commenters
  • tavert(3)

←back to thread

535 points raddad | 13 comments | | HN request time: 1.02s | source | bottom
Show context
typon ◴[] No.11389194[source]
This might be the most exciting news I've heard in a long time. Being able to use Visual Studio and .NET for web development while using zsh and all the other Linux tools? Dreamland.
replies(3): >>11389261 #>>11389399 #>>11389628 #
1. Karunamon ◴[] No.11389399[source]
Serious, non-snarky question:

What does this give you that you would not already have with cygwin? The latter installs .exe versions of the usual command line utils, and I'm almost certain ZSH and the others you speak of are included.

I do not understand the practical implications of this move by Canonical/MS other than PR - what's actually changing from a user/dev standpoint?

replies(4): >>11389536 #>>11389555 #>>11389929 #>>11391019 #
2. 0xCMP ◴[] No.11389536[source]
I would assume much better stability and integration. If this works as I expect, I will be able to do things like apt-get install which is a huge improvement over cygwin. Another benefit is that since it's Ubuntu tools and projects will support it vs cygwin which is usually "we don't use it, so figure it out and then we'll post it here for all the other poor saps using cygwin"
3. metafex ◴[] No.11389555[source]
Cygwin is and always will be only an emulation-layer, never the real deal. For most day-to-day things it works perfectly, but when you run into some corner-case, most of the time you are out of luck.

My only real problem with Cygwin is, that it misses a command-line package manager. If they could adopt pacman for package management like MSYS2 does, I'd be a happy camper.

edit: To deploy Cygwin based applications you need to get a commercial license from RedHat (if it's not FOSS). Which could be a deal-breaker.

replies(4): >>11389592 #>>11389811 #>>11390496 #>>11390620 #
4. typon ◴[] No.11389592[source]
This is a good answer. I always feel limited in Cygwin, it doesn't feel quite right. And it takes quite a bit of tweaking to get working correctly. Case in point: Try getting gvim to work properly from Cygwin.
5. tavert ◴[] No.11389811[source]
You realize cygwin's setup.exe package manager has a CLI, right? The issue with pacman in msys2 is that it's posix dependent, which fails badly at updating the core posix layer itself. Cygwin's setup.exe is a native Windows executable and doesn't have this self hosting problem.
replies(1): >>11390000 #
6. kuma4 ◴[] No.11389929[source]
I think so. Cygwin is good enough to use UNIX tools in Windows. But maybe they will support better packages than Cygwin.
7. koenigdavidmj ◴[] No.11390000{3}[source]
That doesn't solve the problem that if it is trying to update the Cygwin DLL, you need to shut down everything. And if there's an update to something like bash or coreutils, same thing (since Windows does not allow writing to executables that are running).
replies(1): >>11390337 #
8. tavert ◴[] No.11390337{4}[source]
Sure. But self-hosting pacman makes it literally impossible to do correctly. Updating cygwin itself should be done by an outside-of-cygwin solution to invoke setup.exe, just write a little powershell provisioning script or something.
replies(1): >>11390977 #
9. shadowfox ◴[] No.11390496[source]
> My only real problem with Cygwin is, that it misses a command-line package manager. If they could adopt pacman for package management like MSYS2 does

There is babun (https://babun.github.io/). It is essentially a wrapper around cygwin and comes with a package manager.

10. emodendroket ◴[] No.11390620[source]
I've always used apt-cyg to install things, which works OK.
11. Macha ◴[] No.11390977{5}[source]
?

Arch is certainly capable of updating pacman via pacman,and it's been a while but I'm pretty sure you can update apt/dpkg via the usual apt-get upgrade on Ubuntu

replies(1): >>11391493 #
12. Scuds ◴[] No.11391019[source]
apt-get install whatever from any ubuntu repository

Not sure about X11 apps, but whatever. Largely this makes running a special win32 build of redis for whatever dev you're doing unnecessary.

I'm currently running windows on this laptop, but I have a virtualbox instance running Lubuntu for doing any UNIX specific dev. Ports and files are shared across windows and linux transparently, which means there's far less need for need for running+maintaining a separate developer's VM.

13. tavert ◴[] No.11391493{6}[source]
Those aren't operating under the restrictions imposed by Windows.