logoalt Hacker News

fizlebittoday at 5:50 AM6 repliesview on HN

I do feel like better application sandboxing is needed but so much open source software is built on the Unix abstraction meaning you have to run in a container, but macOS doesn’t have containers as far as I can see, and containers themselves are a bit of a poor abstraction, although maybe the best we can do with Unix at the core. I think something closer to Roblox studio would be cool where when you open an environment stuff just spins up in the background, but there is a good debugger, logging, developer ide, good rendering, eg 3d graphics, separate projects are separate, and when you spin down a game (read app or project) everything spins down.


Replies

fulafeltoday at 6:26 AM

It's a good idea so it can't take over your dev machine.

But not sufficient since it'll still F over whatever code you are working on resulting in a backdoored app getting deployed + infected dev scripts etc bringing interesting times to your teammates, downstream open source project users, your api keys and cloud credentials getting compromised etc.

CaRDiaKtoday at 6:33 AM

Apple did actually introduce its own container framework in Tahoe, but it’s still early days. https://github.com/apple/container

show 1 reply
willtemperleytoday at 10:18 AM

UTM is free and spins up native macOS VMs. If I absolutely have to write JavaScript that’s where I do it, since Sha1 Hulud.

itemize123today at 6:42 AM

apple has pretty good containers actually. why do you say they are a poor abstraction?

pjmlptoday at 7:26 AM

That what stuff like XPC and entitlements are for, which naturally programs from UNIX culture background don't care to use.

coderbantstoday at 7:43 AM

[dead]