Live data from Hacker News

Foreign Linux: Run Linux binaries on Windows without drivers or modification

github.com

41–50 of 149 posts

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#41
post #37
post #5

Cool. CoLinux does something similar

I thought it's been dead for ages

This is one of the things that's always driven me nuts on Linux, and also one of the things I really like. Some projects that are interesting like this seem to disappear for a while, but often the concept will be resurrected under a new project. CoLinux is one of them, UserFS (now FUSE) is another one that went away for a couple kernel versions and is now back. I'm still waiting for an SSI (single system image) to make a comeback though (Mosix, OpenMosix, OpenSSI, but none of them work with newer kernel versions).

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#42

Firstly, this looks brilliant. If anyone can remove the extra layers of cygwin, mingw, xming etc. and provide a direct ability to execute linux programs from powershell/cmd , I call Black Magic. Voodoo I tell you; Windows cannot be this user friendly (I work with it every day). Secondly, completely off topic, I noticed that Github picks up 0.4% of the code-base as Objective-C ( https://github.com/wishstudio/flinux/se…

Github's language detection is actually open-source — you can have a look at what it does here: https://github.com/github/linguist Linguist uses a number of different 'strategies' to identify the language – in the case of C vs. Objective C, it uses a pretty simple heuristic ( https://github.com/github/linguist/blob/master/lib/linguist/... ) to disambiguate C/C++/ObjC where required (such as in header files, which can…

Thanks for the link! Time to do some reading.

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#45
post #3

Earlier quoted context omitted.

I think it would mainly be used by Linux users forced to use Windows for some reason (at work, for example).

I totally agree with you. Some of us who really like Linux are forced to use Windows at work. This project is really going to help a lot of people :)

But if you can run this, you can run VirtualBox, which is a much safer alternative (and simpler, if a live ISO meets your needs).

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#46
post #10

Cygwin is impressively complete - if you haven't checked in on it recently, there are over 5000 packages in the official repo (that's more than Arch Linux's official repos), and adding the http://cygwinports.org/ repo gives you full KDE, GNOME 3 and Xfce on windows (although KDE has a first-party port). What this tool offers over Cygwin is the ability to run unmodified linux binary-only software for which you do not…

My biggest gripe with Cygwin (aside performance on some syscalls) has been package management, which used to require setup.exe to add or upgrade packages. That was nicely mitigated when I found out about apt-cyg[1]. It's a apt-getish frontend for setup.exe command line. Not as nice as real apt-get of course, but "apt-cyg install something" takes care of the most important use case.

1: https://github.com/transcode-open/apt-cyg

EDIT: changed to github url

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#47
post #14

Earlier quoted context omitted.

To be honest, and I say this with a massive cringe, after 20 years of Unix I'm more productive with PS in a couple of months! It's quite refreshingly easy to use and I genuinely had no idea how much time I was wasting on parsing streams. Now I feel horrible for revealing my dirty secret :(

What do you use for grep? I tried using Powershell and did a few things with it, but while it is a great shell, the lack of good tools like grep prevented me from being really productive.

I've ended up with

Select-String "pattern" -Path file.txt | ForEach-Object { Write-Output $_.Line } | Out-File t.txt

Slightly Heath Robinson, but by default PS will truncate lines to terminal width, even when writing to a file, which is a disaster for any kind of subsequent machine processing.

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#49
post #10

Cygwin is impressively complete - if you haven't checked in on it recently, there are over 5000 packages in the official repo (that's more than Arch Linux's official repos), and adding the http://cygwinports.org/ repo gives you full KDE, GNOME 3 and Xfce on windows (although KDE has a first-party port). What this tool offers over Cygwin is the ability to run unmodified linux binary-only software for which you do not…

It took many years before I realized and tried it, but Cygwin also very easily lets you run an OpenSSH server on Windows, which I find incredibly useful.

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#50
post #10

Cygwin is impressively complete - if you haven't checked in on it recently, there are over 5000 packages in the official repo (that's more than Arch Linux's official repos), and adding the http://cygwinports.org/ repo gives you full KDE, GNOME 3 and Xfce on windows (although KDE has a first-party port). What this tool offers over Cygwin is the ability to run unmodified linux binary-only software for which you do not…

For me I've had too many problems with cygwin and $DAYJOB installs BLODA, so I'm really interested to see what comes of this, also since it uses arch and pacman, which are my distro of choice, it sounds pretty perfect to me! (no more having to recompile everything from source with cygwin or `rebaseall` and suchlike)

BLODA: Big List Of Dodgy Apps
Post reply on HN