|
|
|
|
|
by olliej
2620 days ago
|
|
App Extensions are a really good solution* to the same problem domain, with the additional constraint that you have to support arbitrary compiled code, with all the intentional or unintentional memory safety violations. * I am biased here. |
|
Haha, I'll defer to you then. But I'm still curious about this:
> you have to support arbitrary compiled code, with all the intentional or unintentional memory safety violations
But there are multiple barriers here, are there not? First, your code needs to be signed (and notarized, at some point), and then at runtime the app sandbox/entitlements/process separation ensures there's not much you can do even if you're running arbitrary code. Sure, the first "barrier" isn't necessarily all that restrictive or thorough, but the other one should ideally stop anything horrible?