Notably on iOS there's no good way to isolate unsafe native libraries from the rest of your app without violating app store policies, because Apple enforces apps to be single process and doesn't allow use of its own sandboxing apis.
That sounds like a huge hit to energy use, if it is even feasible for something like implementing webrtc because of communication costs with the native process.
Plenty of mobile code, especially at large companies like this, rely on a ton of C code. It makes it easier to support features on both Android and iOS. I’m sure there are more benefits I’m not aware of.
black_puppydog|3 years ago
dagmx|3 years ago
Edit: actually no, XPC Services are Mac only so wouldn’t help on iOS.
WASI would be the closest thing to a secure runtime
biggerChris|3 years ago
[deleted]
londons_explore|3 years ago
mattnewton|3 years ago
pjmlp|3 years ago
fsociety|3 years ago
justapassenger|3 years ago