5 ms·
A lot of snarky comments here, but I've been using Ubuntu shell on Win 10 for the past few weeks and it's really fantastic. Way faster than a VM and much more c
by tootie 9y ago
A lot of snarky comments here, but I've been using Ubuntu shell on Win 10 for the past few weeks and it's really fantastic. Way faster than a VM and much more compatible than cygwin or msys.
- thinkxl 9y agoMore snarky than usual, i don't know why. "why not just" or "just use" kind of comments that you see more in reddit. Even someone recommended an Electron alternative, on HN! the #1 Electron hater community. Interesting.
- seiferteric 9y agoI don't know, I think some people feel a bit threatened by this move. It could be viewed as a way to subvert the Linux and OSS community. I think people should know there are alternatives.
- thinkxl 9y ago> I don't know, I think some people feel a bit threatened by this move. You are right, but as you said, is good to have alternatives. > It could be viewed as a way to subvert the Linux and OSS community. Good, is healthy to have competition.
- 52-6F-62 9y agoThat's a generally valid concern, but I don't think I can see that ever really happening. It's really just a compatibility space, no? There is a bit of a contrarian culture here, lately. Some skepticism is healthy, but too much is toxic. As a general optimist and hopeful, I like to try and find good where I can without being suckered by hocus or sly marketing. Moving forward and growing outward should be a good thing, shouldn't it?
- seiferteric 9y agoI know what you mean, but you will never see MS contributing to Wine will you? Will we ever see office for linux? Why can't we get a proper POSIX layer for windows (like they used to offer)?
- 52-6F-62 9y agoYou've got a good point. I believe personally that there are great people working at MS (because I know one or two... so I'll just take a leap and assume in general) -- so it seems like a problem of reining in the beast. Hell, Gates seems like a generally good person. It's the default nature of a corporation [read: monster] so large to consume as much as it can and become as powerful as it can. Such organizations are structured this way, and bend this way regardless, because of the framework they operate within. I hardly need to say this. MS started making some good ground recently, so maybe with further prodding and pressure, who knows. Everything you suggested sounds like easy wins for them. It's not like it would affect their core consumer base too much.
- robertlagrant 9y agoYeah I like Gates, much more than Jobs or Ellison, for example. I'm sure he was far from perfect, but he's pumped more money (and convinced others to pump more money) into big causes than probably most others on the planet. Ballmer on the other hand - both an idiot who stopped Microsoft doing much good for ten years, supported a stupid HR manager in her talent-scaring practices, and also helped give MS its bad reputation. Good job mate.
- hueving 9y agoGood people work for Oracle as well, but that doesn't mean oracle isn't a destructive open source participant.
- 52-6F-62 9y agoSurely it's a similar problem to MS. "Reining in the beast" so to speak. Corporations, any for-profit corporation, are all by their nature (if you can call it that) for the express purpose of making money in their raw functioning. It would take a purposeful, active measure to sway the actions a corporate body would take (or should take). Not saying MS is an innocent party in the slightest.
- neves 9y agoIf you've lost your work and time due to their design decisions, you'd be "snarky".
- rodgerd 9y ago> i don't know why. Post by woman.
- rbanffy 9y agoIt's not snark, or feeling threatened. It's just that lots of people (me included) fail to see the point of running Windows at all (unless you are developing for Windows, in which case it's foolish not to). If you want a Linux experience, use Linux. If you want polished applications and a Unix experience, get a Mac. Windows has somewhat polished apps (with very lax UI consistency rules), a convoluted overall experience (ever tried to debug a wireless connection?) and a Unix-like environment (and it had one from the start) both with Cygwin and WSL. IMHO, WSL is Microsoft's attempt to compete with Mac, not Linux, by adding a Unix-like environment to Windows. I already did that with Cygwin, more than a decade ago.
- blauditore 9y agoFrankly, I don't understand the unix-like argument. I keep on hearing it from devs, but if your work happens mostly in IDEs and occasionally on the command line with tools like npm or gradle you never get in touch with potential "unix-ness" of your system. The reason why I switched to Linux for work is its focus on power users, e.g. great configurability or well thought-out command line applications, but not because it's close to unix.
- monsieurbanana 9y ago"focus on power users, e.g. great configurability or well thought-out command line applications" Yeah, because it's an UNIX-like.
- blauditore 9y agoI'm not talking about command line languages or tools, but applications building an interface to it, like Terminal. It's much handier and more configurable than the built-in ones in Windows for cmd and PowerShell.
- leo_santagada 9y agoand that is because the whole pseudo terminal system was always there not encumbered by cmd wonkiness. That plus filesystem semantics alone make a unix like system miles ahead of microsoft.
- fasquoika 9y ago> "why not just" or "just use" kind of comments that you see more in reddit Honestly I think this attitude is much more common on HN than reddit
- jancsika 9y ago> Way faster than a VM and much more compatible than cygwin or msys. More than, say, msys2? I haven't had any compatibility problems with it.
- int_19h 9y agoIt's definitely much closer to real Linux than msys2. Don't forget that the entire userland in WSL is the real thing, not an emulation.
- notgood 9y agoThe linux subsystem for window is way faster than Cygwin (and any VM), I just tested grep on both platforms for a big text file (500MB) and cygwin-grep takes 2.630s while linux-subsytem-grep takes 0.395s
- slaymaker1907 9y agoI don't think grep is the best example since they could be different implementations of grep.
- notgood 9y agoI have seen similar differences in other programs as well (tail, head)
- dingo_bat 9y agoSame here. I've not booted up my arch VM in months. The file format incompatibility is a small problem.
- zengid 9y agoWhat's your work flow like? Do you have to keep files / directories separated based on using whether your using bash or windows?
- detaro 9y agoNot the parent, but also someone using WSL: Generally not, that is for me the main benefit of using WSL. Files in the Windows file system can easily be accessed from the Linux side (C: appears as /mnt/c), so I basically do everything shell-based in WSL Bash and at the same time can access files there with my Windows-based GUI tools. I've tried that before with VM setups, and sharing filesystem folders gave me way more trouble there. You can't access the linux filesystem with Windows tools, but I haven't really missed that, since I seldom touch files there directly, and if I do they are text files that are easily edited in vim. It's pretty good, although you'll find the occasional program that won't run due to missing syscalls (or needs a special flag to be convinced to run) and I'd love if they shipped a working X setup.
- koffiezet 9y agoLaunching processes in WSL is a LOT slower compared to a VM tbh. WSL is a magnitude faster than Cygwin on that level, however it is still limited by the Windows process model, even with their pico processes they're an order of magnitude slower. I have a simple bash script I run from time when new WSL versions come out, to see if that improved. It simply loops doing a silly `echo "foo" | grep "bar"` and increasing a counter until that counter reaches 1000. This 9 line script runs in a bit more than 10 seconds on my i7 laptop. In a Linux VM on that same laptop, that exact same script takes 1 second to run. Now I absolutely love WSL, it makes things a lot easier in my life, but I have to run some extensive long-running bash scripts from time to time (don't ask), and the minute it takes me to spin up a Vagrant VM lets me finish this in about 15 minutes instead of more than 2 hours.