> if apple parsed pdf with (js, swift, rust) none of this would be possible
Interpreters and compilers can have bugs. Bugs can cause memory safety issues.