11 ms·
I wonder what the internal conversations are like around memory safety at Apple right now. Do people feel comfortable enough with Swift's performance to replace
by meisel 7mo ago
I wonder what the internal conversations are like around memory safety at Apple right now. Do people feel comfortable enough with Swift's performance to replace key things like dyld and the OS? Are there specific asks in place for that to happen? Is Rust on the table? Or does C and C++ continue to dominate in these spaces?
- gsnedders 7mo agoWhile not wholesale replacing it, there already is Swift in dyld: https://github.com/search?q=repo%3Aapple-oss-distributions%2Fdyld++language%3ASwift&type=code https://github.com/search?q=repo%3Aapple-oss-distributions%2...
- saagarjha 7mo agoThis goes into dyld.framework, not dyld the linker
- ronsor 7mo agoApple is already working on a memory-safe C variant which is already used in iBoot and will be upstream LLVM soon: https://clang.llvm.org/docs/BoundsSafety.html https://clang.llvm.org/docs/BoundsSafety.html