←back to thread

535 points raddad | 2 comments | | HN request time: 0.61s | source
Show context
chubot ◴[] No.11390514[source]
I know I've run bash on Windows before -- but I don't remember if it was with or without Cygwin. I assume this announcement is running bash natively, without Cygwin or anything VM-like.

Did they have to contribute patches to bash, or just install it by default? I don't see anything on the bash mailing list, but the development is not particularly open.

replies(1): >>11390532 #
1. nileshtrivedi ◴[] No.11390532[source]
https://twitter.com/jacobrossi/status/715209978286514176
replies(1): >>11390876 #
2. chubot ◴[] No.11390876[source]
OK interesting -- native Ubuntu Linux binaries on Windows too. FreeBSD and Illumos are also emulating Linux too, i.e. translating syscalls in the kernel. I wonder if Microsoft grabbed some of that code since it's open source :)

This just shows how standards are made... implement first then think about it later :) I don't think the Linux syscall interface is the model of clarity, but that's what we have.

EDIT: This answers my original question... apparently they didn't patch bash -- they patched their own kernel to run the bash binary, and all Linux binaries! It was done at a binary level rather than source level.