Live data from Hacker News

Bash and Windows Subsystem for Linux Demo [video]

channel9.msdn.com

291–300 of 316 posts

Re: Bash and Windows Subsystem for Linux Demo [video]

#292

How is the file system performance going with this? The latest release version runs Rails worse than shared folders on VMWare which is slow in bad way. Running MySQL on top of it might "work" but is it fast?

Even if they optimize to the point of native Windows speed it will still be slower than native Linux. Its a well known fact some heavy IO programs run faster under Wine than native.

Re: Bash and Windows Subsystem for Linux Demo [video]

#293

Earlier quoted context omitted.

Source? Personally, I wonder how long it takes before redmond realizes that they are wasting shareholder money by maintaining/developing a proprietary kernel. It's not like they could not sell windows/linux as a perfectly good OS with copyrighted components on top of the kernel. Or then I have missed something significant.

It sounds like you have minimal exposure to low-level NT primitives. Is that a fair assessment?

I would think "non existent" would be even more fair assessment of my exposure to NT internals.

Which is exactly why I asked some kind of source for the question why NT is so much more advantaged than bsd or linux kernels.

And if someone has somewhere written some analysis why it would be impossible/difficult/easy to swap windows kernel to unix, I would be curious to read.

Re: Bash and Windows Subsystem for Linux Demo [video]

#294

Earlier quoted context omitted.

Source? Personally, I wonder how long it takes before redmond realizes that they are wasting shareholder money by maintaining/developing a proprietary kernel. It's not like they could not sell windows/linux as a perfectly good OS with copyrighted components on top of the kernel. Or then I have missed something significant.

how can they sell GPL OS? I mean they can try, but people will just download for free if they can.

Google has no trouble having an important proprietary layer on top of open android linux kernel.

Re: Bash and Windows Subsystem for Linux Demo [video]

#295
post #88

I've been running windows (using WSL for most of my development) for a few months and overall I'm very happy with it. Every non-GUI linux program I want to run works just fine on WSL, with the sole exception of (beta software) Urbit. I do miss Xmonad-like window management, but windows does have shortcut keys that do a good enough job. Emacs works perfectly well. And Anaconda ( https://www.continuum.io/downloads ) is…

Emacs has one flaw for me under WSL: the janky Windows console doesn't pass C-SPC. Meaning I have to bind set-mark-command to something else (like M-SPC), or download and use wsltty (fork of mintty). But other than that Emacs is fine, and a lot of Linux stuff (Node, mongo, etc.) works great. Who cares if Urbit doesn't work? :)

What do you use for colors/theme in emacs in WSL? I ran emacs with the default settings the other day and there was a lot of unreadable blue on black.

Once the latest build filters out to Windows Update, I will probably only invoke the Windows build of emacsclientw, but it would be nice to have something habitable in WSL on occasion.

Re: Bash and Windows Subsystem for Linux Demo [video]

#296

Earlier quoted context omitted.

It sounds like you have minimal exposure to low-level NT primitives. Is that a fair assessment?

I would think "non existent" would be even more fair assessment of my exposure to NT internals. Which is exactly why I asked some kind of source for the question why NT is so much more advantaged than bsd or linux kernels. And if someone has somewhere written some analysis why it would be impossible/difficult/easy to swap windows kernel to unix, I would be curious to read.

This might interest you: https://groups.google.com/forum/#!topic/framework-benchmarks...

And https://speakerdeck.com/trent/pyparallel-how-we-removed-the-....

Re: Bash and Windows Subsystem for Linux Demo [video]

#297

The biggest problem I have with the WSL is that it is intrinsically tied to stable Windows releases; there is no way to get incremental updates for Bash on Windows unless you subscribe to the Windows Insider program, which is a way of running prerelease versions of Windows. So in order to get Linux features like inotify working you have to sacrifice the stability of your operating system. This looks like it'll be tru…

@OhSoHumble: We totally hear you. We'd love to ship WSL builds uncoupled from the rest of the OS, but at the moment, we're developing WSL at a breakneck pace alongside several other critical kernel feature changes which all have to ship in lock-step. A good example of this is the work we've been doing with the networking team to add additional network socket mode support to the NT kernel's networking stack so that we…

> A good example of this is the work we've been doing with the networking team to add additional network socket mode support to the NT kernel's networking stack so that we can create the correct socket semantics that Linux apps expect.

Ooh! That's nice.

I was slightly disappointed I couldn't SSH tunnel or do too much with network tools when I gave it a try not long ago. I am definitely looking forward to that.

Re: Bash and Windows Subsystem for Linux Demo [video]

#298
post #199

Earlier quoted context omitted.

I was so split as to whether to show Notepad or Code, but figured that more people were aware of Notepad and would grok what I was trying to demo so went that way. Plus it nicely demonstrates one of Notepad's key weaknesses to help drive awareness with the Notepad team ;)

There's really a Notepad team?

There's probably a team that's responsible for Notepad. I doubt they exclusively focus on Notepad :)

Re: Bash and Windows Subsystem for Linux Demo [video]

#299
post #104

Earlier quoted context omitted.

With all the drawbacks that Cygwin entails. Plus the requirement to rebuild the code instead of just using the Linux-native ELF binary. Those are two things with very different goals.

Which drawbacks are those? (One is performance, unfortunately). Rebuilding the code is the norm in the GNU/Linux landscape. Is Ubuntu x86_64 built from Fedora x86_64 packages? Etc. The requirement "I want to run Linux stuff on Windows without rebuilding" is basically stupid, because you normally don't even run stuff from Linux distro A on Linux distro B without rebuilding. It sort of works for programs that have mini…

People like to use package managers to install thing in a Linux distro. Supporting binary compatibility means that they can just use apt instead of building something new, and rely on Canonical for creating packages.

Re: Bash and Windows Subsystem for Linux Demo [video]

#300

Can anyone please tell if Windows SubSystem for Linux coexists well with Cygwin64 and/or msys? I have Cygwin64 installed. I don't use it a lot but it helps to run some deployment bash scripts which otherwise won't run on Windows. So it will be good to know if Windows SubSystem for Linux messes up with it or not.

You can actually install mingw for Linux in WSL and cross-compile win32 binaries, which is pretty funny.
Post reply on HN