5 ms·
The interesting bit of WSL (what the article talks about) is a Linux syscall translation/emulation layer, as well as ELF64 binary support (not specific to Linux
by kelnos 10y ago
The interesting bit of WSL (what the article talks about) is a Linux syscall translation/emulation layer, as well as ELF64 binary support (not specific to Linux, but not specific to GNU either). You can certainly install the Linux versions/ports of GNU tools and run them under WSL, and that's what the stock setup looks like, but an important component of WSL is about emulating a Linux (the kernel) environment.
If MS had actually ported the GNU base system to NT, then you could reasonably call it GNU/NT. They have not done that.
- cryptarch 10y agoI think it is more significant from a user's perspective that they get the GNU tools to run on their NT machine with MS support. What's the use of Linux syscall -> NT syscall translation if not compatibility with developer tools, most of which are GNU software?
- skrause 10y agoSo you were actually serious? I thought your first post was great satire. Poe's law strikes again...
- cryptarch 10y agoI think the syscall translation part is an irrelevant hack, seems silly to act like that is what makes the project more useful because it does not guarantee performance, compatibility or stability.
- TazeTSchnitzel 10y agoThe syscall translation makes it more useful than the previous UNIX subsystem, because it means it can near-perfectly emulate a popular POSIX-like system (Linux), and thus be compatible with most of its software, rather than being its own eccentric platform that existing POSIX software must first be ported to.
- cryptarch 10y agoSo is it near-perfect yet? I don't see the value if it's not more stable than "excentric" platforms like Cygwin and MSYS, but I guess I wouldn't use it either way because there's no way I'm installing Windows 10 on my hardware.
- skrebbel 10y ago> developer tools, most of which are GNU software? such as python, nodejs, elixir and PHP?
- cryptarch 10y agoYou can say that about Linux as well; the bread-and-butter of the CLI experience is still the GNU stuff. EDIT: Yes, there are non-GNU Linux distributions, but WSL is based off Ubuntu specifically and ships with a GNU userland by default.
- hultner 10y agoWhat if you run a ToyBox userland then? Or BusyBox for that matter
- deleted 10y ago[deleted]
- cryptarch 10y agoWhat if your run ToyBox on Ubuntu? You have a lot of work to do upfront and get less functionality in return.
- deleted 10y ago[deleted]
- skrause 10y agoThere are Linux distributions which contain almost no GNU software, e.g. Alpine Linux which is built around musl libc and busybox: https://alpinelinux.org/about/ https://alpinelinux.org/about/
- cryptarch 10y agoWSL is "Ubuntu GNU/NT". You can't base your WSL install off other distros AFAIK.