Live data from Hacker News

Ubuntu on Windows

blog.dustinkirkland.com

131–140 of 933 posts

Re: Ubuntu on Windows

#131
post #53

Earlier quoted context omitted.

I expect they implemented a subsystem for Linux at the syscall level - i.e. they implemented the Linux kernel's interface at the ABI level. No headers would need to intermingle with open source; compile on Linux, run on Windows.

I've read comments where people wrote that NT always had some kind of POSIX subsystem, and it has probably just now been completed and expanded. Can't find any substantial writings on this, but it seems likely.

NT shipped w/ a POSIX subsystem. Later, Microsoft acquired Interix (https://en.wikipedia.org/wiki/Interix), a more fully-featured POSIX subsystem. I have fond memories, in the late 1990's, of running GNU tools on NT under Interix.

Re: Ubuntu on Windows

#132
post #33

Scott Hanselman has a good write-up here: http://www.hanselman.com/blog/DevelopersCanRunBashShellAndUs... Google Cache: https://webcache.googleusercontent.com/search?q=cache:http:/...

"Of course, I have no idea how to CLOSE emacs, so I'll close the window. ;)"

What if you read the welcome screen, Mr. Scott ;) ?

Re: Ubuntu on Windows

#133
post #49

April fools. Coming next: Windows 11 will use Linux kernel.

Well we are close. But I thought the 1st of April idea was to make the joke on 1st and reveal it after that date. Not to make a joke in March and tell people it was a joke on 1st of April...

Re: Ubuntu on Windows

#134
post #108

Earlier quoted context omitted.

Thats why you do it clean room style. One team to document, one team to implement based on that document.

What does "clean room" style mean, exactly? I've heard the term, but only in connection with semiconductor factories, I think. You're talking about software here.

The usual term is "Chinese Wall" [1].

[1] https://en.wikipedia.org/wiki/Chinese_wall

Re: Ubuntu on Windows

#135
post #39

Earlier quoted context omitted.

Totally doable. Use KVM to virtualize Windows and (the important part) make sure your CPU and motherboard support VT-d. Then you can pass a graphics card (separate from the one you run Linux with, naturally) to the VM and get >95% of native performance. There's lots of videos of folks doing this.

I've heard that this works wonderfully for graphics, but the sound emulation is pretty terrible. At least, I've heard about clicks and pops when the game puts much load on the system. This was on a friend's machine; maybe he had it configured badly.

First of all there is option to emulate different sound cards and I have no issues with Intel HDA other than microphone delay.

And you can also buy $5 USB sound card and have no issues at all. Or spend few bucks more and connect PCI sound card.

Re: Ubuntu on Windows

#136
post #40

I wonder if they implemented a copy-on-write fork syscall in NT. Otherwise it will be slower (and use a lot more memory) in some scenarios. Edit: And cow fork only makes sense if there is memory over-commit. So to be fully featured it would need a separate memory subsystem with memory over-commit.

Looks like it wouldn't be the first copy-on-write fork() on NT; Interix had that already many years ago.

Solaris doesn't have VM over-commit either, and few people would claim it's not a fully featured UNIX.

Re: Ubuntu on Windows

#139
Imagine going back in time to the 90s and telling people that in 2016 Microsoft would bend over backwards to make sure Windows could run Linux ELF binaries natively in the kernel by converting syscalls. You'd probably be laughed at.

Re: Ubuntu on Windows

#140
I wonder what implications this has for SSH for PowerShell... Microsoft were originally planning to release native SSH in PowerShell this summer. But now it seems redundant when you could just use Bash anyway...
Post reply on HN