Live data from Hacker News

Ubuntu on Windows

blog.dustinkirkland.com

371–380 of 933 posts

Re: Ubuntu on Windows

#371

Earlier quoted context omitted.

Yea, I think they are going after developers who use OS X because it is UNIXy. Smart move given how en vogue Apple laptops have become for developers these days.

It kinda makes me regret my MBP purchase last fall. I really wanted a Surface Pro but I couldn't deal with developing on Windows.

No worries. Me and many others might buy it. I wouldn't regret though. Keep in mind that even /dev/random will not work on Windows 10

Re: Ubuntu on Windows

#373
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.

From the screenshots, it seems there is a full kernel in there - e.g. you have /proc/cpuinfo, and it identifies as Linux 3.4.0. If they just implemented all Linux syscalls on top of NT, that would replace a Linux kernel. There would be no Linux kernel running on top. But in that case they would also need to emulate stuff like /proc. (This is the "reverse Wine" scenario.) So I personally think it is either: - There is…

There is a link to a full demo someone posted here [1].

They don't run the linux kernel at all. That /proc/cpuinfo is a part of a limited subset from what procfs usually offers. They enter their linux compatible "subsystem" via a bash binary, which could probably be any linux elf binary, since they run them unmodified. So, it looks like they actually implemented most of the syscalls with some of them emulating necessary parts of linux environment, like procfs.

[1] https://sec.ch9.ms/ch9/5db6/8ee786b7-9fc5-45bf-94d0-16ea9176...

Re: Ubuntu on Windows

#374
"Fire and brimstone coming down from the skies! Rivers and seas boiling! Forty years of darkness! Earthquakes, volcanoes! The dead rising from the grave! Human sacrifice! Dogs and cats living together! Mass hysteria!"

Re: Ubuntu on Windows

#375
"Fire and brimstone coming down from the skies! Rivers and seas boiling! Forty years of darkness! Earthquakes, volcanoes! The dead rising from the grave! Human sacrifice! Dogs and cats living together! Mass hysteria!"

Re: Ubuntu on Windows

#376

It's time that people stopped using the term 'Windows' for this operating system. The Free Software Foundation created the bulk of the userspace, under terms that allow anyone to share, modify and fork the programs, and then Microsoft came along with the one last missing piece of the puzzle - the kernel, and completed the full operating system, which, to be frank, users find completely unusable and worthless without…

You jest, but I agree. I might accept a GNU/Windows machine as a working computer, but I would be a lot more weary of accepting just a Windows machine.

Would this be possible? How far could anyone (outside of Microsoft) strip down Windows to leave behind just a kernel with a functioning GNU environment (let's say, a shell and file access) ?

Re: Ubuntu on Windows

#377
post #114

Earlier quoted context omitted.

I agree. I'm (mostly) a Windows user, and the one reason I'm constantly thinking of moving to OSX as my primary OS is the amount of command-line tooling that is available in the system. Everything new is always there first. I've started feeling that I was holding back by staying on Windows, even if using Mingw daily. This might be the thing that saves Windows as a dev machine for me. I'm a heavy cmd/powershell user b…

> I'm constantly thinking of moving to OSX as my primary OS is the amount of command-line tooling that is available in the system. Everything new is always there first. Having had OS X, Windows, and various Linux distributions as my primary operating systems I would consider having an Arch Linux VM kicking around if you want all the packages in the world, maintained fairly well.

I've done so in the past, but it becomes cumbersome to manage shared folders. The ability to have everything shared and your driver naturally working under /mnt/ - essentially replacing cmd with bash and its tools - is a big deal for me. Using editing/managing/design tools in Windows build with a build/deploy system in bash, and no middle man... that'd be the day.

Re: Ubuntu on Windows

#378

A few random thoughts: - Wow, hell is really freezing over! - The hardest part of running bash and other posix things under windows is filesystem access. Windows uses drive letters and backslashes, unix has a root filesystem with forward slashes. It seems they are taking the same route as cygwin by "mounting" windows drives in /mnt/c (or /cygdrive/c). - If you just wanted bash and some posix tools, the harder but nic…

> Windows uses drive letters and backslashes, unix has a root filesystem with forward slashes. Windows also has mountpoints. When I use a Windows system, I pretend that C: is the only drive, and mount external volumes under the root, Unix-style. I then install Cygwin in the C:\ root, creating the illusion of a fairly Unix-ish filesystem layout.

And you can also use forward slashes. I've used them in applications (Java apps, NodeJS apps, etc) and in the command line since at least Windows 7.

Re: Ubuntu on Windows

#379
post #339

Earlier quoted context omitted.

While I prefer to develop today on OS X...your post is nothing but FUD. > What about lack of all the Linux/OS X GUI software? Windows prolly has more GUI applications than both those OSes combined. That's not necessarily a good thing but it's not bad either. It just means there is a Win substitute for everything. > What about lack of all the UNIX OS features? Same answer as above. > What about all those billions and…

"Windows prolly has more GUI applications than both those OSes combined." Oh...right all those cool FREE_VIDEO_CONVERTER_YOUTUBE_MP4_DOWNLOAD_FAST_FREE_GREEN_CARD.EXE applications...right.... Now days all the developer/engineer GUI apps are made OS X first, Linux second and maybe Windows. "I download a lot of crap on my home Win computer and haven't had a virus once in the past 6 or 7 years. There are likely more And…

> You being extremely lucky doesn't change statistics.

There's nothing lucky about being prudent.

Post reply on HN