2 ms·
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 C
by chubot 11y ago
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.
- nileshtrivedi 11y agohttps://twitter.com/jacobrossi/status/715209978286514176 https://twitter.com/jacobrossi/status/715209978286514176
- chubot 11y agoOK 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.