2 ms·
That’s true, but Swift moves out of Swift code way before it has to interact with system libraries. If you use Java, your xml parser, json parser, character en
by Someone 3y ago
That’s true, but Swift moves out of Swift code way before it has to interact with system libraries.
If you use Java, your xml parser, json parser, character encoder, date/time formatter, jdbc library, etc. likely are mostly written in a JVM language.
If you use Swift, they were (at least in the first versions) almost entirely written in (Objective-)C, so the amount of unsafe code is larger. Wrapping that in a safe language doesn’t remove all security concerns of that code.
- nvm0n2 3y agoAnd don't forget that Java has its own SSL stack, also written in Java. So you can go a long way with no native code at all.