Hacker News new | ask | show | jobs
by muaddirac 3894 days ago
I could see an object-capability based scheme working well.

Apple is probably in the unique position to actually implement such a system successfully, controlling the hardware, os, and even language choice.

1 comments

Sure, if Apple banned Objective-C/C/C++ and assembly code (never mind that most games are written in C++), set up a new system where all developers had to upload Swift IR, removed all unsafe APIs (at a sometimes very high performance cost), and audited all the rest of the gazillions of APIs for memory unsafety in the face of deliberate misuse, then they could implement an in-process object capability system that had only a few thousand vulnerabilities, similar to WebKit.

Or they could continue with the current sandboxing system where security- and privacy-critical functionality is performed out of process, and plug the remaining leaks, of which there aren't that many.