Re:Windows Subsystem for Linux 2 Moving into General Availab...
by riskyfive on Tuesday April 14, 2020 @10:53PM
(#22873991)
I really hope apple implements something similar, would much prefer to have a well integrated linux vm than the not-quite-linux of macos
[ Parent
| on HN ]
Re:Windows Subsystem for Linux 2 Moving into General Availab...
by totetsu on Tuesday April 14, 2020 @11:06PM
(#22874078)
I find that most of the linux-like versions of user-space tools can be installed via homebrew. What functionality would you been hoping for from a linux vm?
would this VM be able to have any GPL v3 licensed tools?
Re:Windows Subsystem for Linux 2 Moving into General Availab...
by pknopf on Tuesday April 14, 2020 @11:28PM
(#22874199)
Yeah, the drive for a "WSL" is really because Microsoft/Windows doesn't play nice with the *nix world of tools/commands that developers are falling in love with.
With OSX, the terminal experience is great, no need for a "WSL" over there!
Re:Windows Subsystem for Linux 2 Moving into General Availab...
by jchw on Tuesday April 14, 2020 @11:00PM
(#22874033)
This is an interesting take considering Linux is Unix-like and macOS is technically a BSD derivative. I don’t think macOS will ever have a Linux syscall translation layer/subsystem (WSL1) nor a lightweight VM with special integration (WSL2) but you can do sort of similar things in third party software, I think. Docker for Mac is using the native VM framework and includes a filesystem integration called osxfs, but despite mentioning the source code in documentation it does not appear to be open source at this time?
Re:Windows Subsystem for Linux 2 Moving into General Availab...
by rvz on Tuesday April 14, 2020 @11:08PM
(#22874085)
Exactly. It really doesn't need a syscall translation layer anyway given its Unix + BSD and POSIX foundations. Although this open-source project [0] does exist for macOS but it looks like its inactive.
Re:Windows Subsystem for Linux 2 Moving into General Availab...
by riskyfive on Tuesday April 14, 2020 @11:13PM
(#22874112)
doesn't macOS put a BSD translation of some sort in their kernel? Theres a microkernel, a driver api (device kit) and then 'bsd'
Re:Windows Subsystem for Linux 2 Moving into General Availab...
by riskyfive on Tuesday April 14, 2020 @11:17PM
(#22874135)
random wikipedia image that somewhat supports what I was thinking https://en.wikipedia.org/wiki/Darwin_(operating_system)#/med...
Re:Windows Subsystem for Linux 2 Moving into General Availab...
by saagarjha on Tuesday April 14, 2020 @11:28PM
(#22874200)
The actual API layers are nowhere near that clean ;)
Re:Windows Subsystem for Linux 2 Moving into General Availab...
by yjftsjthsd-h on Tuesday April 14, 2020 @11:19PM
(#22874142)
Darwin doesn't use a microkernel, but yeah they straight-up grafted a BSD syscall layer onto a Mach base.
Re:Windows Subsystem for Linux 2 Moving into General Availab...
by saagarjha on Tuesday April 14, 2020 @11:29PM
(#22874209)
Not by Apple, but here’s two:
https://github.com/ish-app/ish
https://github.com/linux-noah/noah
They have varying stages of support for Linux syscalls.
Re:Windows Subsystem for Linux 2 Moving into General Availab...
by pram on Tuesday April 14, 2020 @10:59PM
(#22874028)
Docker is on macOS using the native hypervisor framework, what would be the point?
Re:Windows Subsystem for Linux 2 Moving into General Availab...
by fnord77 on Tuesday April 14, 2020 @11:01PM
(#22874043)
and it has some serious file system performance issues that make docker for mac a non-starter for some projects:
https://github.com/docker/for-mac/issues/77
https://docs.docker.com/docker-for-mac/osxfs/#performance-is...