News for hackers. Stuff that matters.
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.

[0] https://github.com/linux-noah/noah

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.