3 ms·
Only because it is a Linux VM, and people insist on using Linux specific stuff instead of UNIX, to the point younger generations have no clue about the differen
by pjmlp 2y ago
Only because it is a Linux VM, and people insist on using Linux specific stuff instead of UNIX, to the point younger generations have no clue about the difference.
Even the BSDs and Solaris/Illumos have add to add Linux translation layers.
Sad state where POSIX hardly matters for portable UNIX code.
- AYBABTME 2y agoCan you make containers in Darwin?
- pjmlp 2y agoYes, the macOS way, with Virtualization Framework.
- AYBABTME 2y agoThe virtualization layer breaks many "container" expectations, I wouldn't call this containers without big caveats. Same as firecracker VMs may give some of the ergonomics of containers but come with a lot of limitations.
- saagarjha 2y ago(No.)
- nyrikki 2y agoThe insane stability of the Linux ABI is partially what makes containers useful. The fact that containers can reliably depend on the ABI contract, thus placing almost any clib they wish they want inside the container is fairly unique. That extreme stability of that contract is awesome for namespace decoupling. Unfortunately Apple and Microsoft do not have such stable interfaces. Remember containers are just namespaces.
- pjmlp 2y agoOnly in the context of Linux containers, not in general, starting with HP-UX Vaults on UNIX land.
- pxc 2y agoBesides the way Apple puts a hard limit on the number of those you can spin up, don't they also virtualize hardware and run their own kernels? That's just not the kind of virtualization that containers are.
- zamalek 2y agoVirtualization is not containerization. Linux has namespaces, BSD has jails, and even Windows has Windows containers (thought doubt anyone actually uses them). If that's the MacOS way, then the MacOS way must be incompetence.
- shepherdjerred 2y agohttps://darwin-containers.github.io/ https://darwin-containers.github.io/
- AYBABTME 2y agoSeems like it's not quite what would qualify as a container for many, but a nice effort. > rund doesn’t offer the usual level of container isolation that is achievable on other OSes due to limited Darwin kernel API. https://github.com/darwin-containers/rund?tab=readme-ov-file#rund https://github.com/darwin-containers/rund?tab=readme-ov-file...
- unilynx 2y agoTo mirror the sibling comment, where's the POSIX container/zone/vm whatever specification? If the BSDs and Linux can agree on a meaningful subset, macOS might actually follow
- pjmlp 2y agoThere isn't any in POSIX, then again, it isn't as if we now need containers for every executable for any magical reason. Also, just like in the good old days, it isn't hard to have something dealing with HP-UX Vaults, Aix logical partitions, Solaris/Ilumnos Zones, BSD jails, macOS Virtualiztion Framework,....
- saagarjha 2y agoJust listing technologies that sound kind of similar isn’t enough to actually answer the problems people want solved. The “good old days” were basically just people crying about being unable to have any of the features we have now because they don’t match up or differ in subtly different ways.
- pjmlp 2y agoBest way to solve problems is not to have them in first place, like getting a Linux laptop for doing Linux work.
- FpUser 2y agoWords of wisdom. I do not really have any dev related problems with WSL2 either. Normally I develop and debug on Windows and deploy to Linux as my code compiles and works natively on both. It is mostly C++ backends lately so I suspect I am in tiny minority.
- saagarjha 2y agoI like my laptop though.
- 2y ago
- talldayo 2y ago> Sad state where POSIX hardly matters for portable UNIX code. Given the current state of POSIX applications, I would actually argue that the BSD/Linux hegemony we enjoy is the best possible outcome. The only people that are mad are the people paying for UNIX and expecting to get something better for it. Those people should have learned their lesson in the 90s, I have no empathy for POSIX apologists in 2024. The only "sad state" is one where everyday people don't have access to free software. Mac users have always paid a time premium and a performance premium for access to normal development features, this ignorance of MacOS is a pattern that persists since the 90s. Of course nobody is bending over backwards to test portability with a proprietary OS.
- pjmlp 2y agoIn what concerns headless software probably, as they hardly managed anywhere else.