Swift at Apple: Migrating the TrueType hinting interpreter
62 points by DASD 3 hours ago | 21 comments
weinzierl 48 minutes ago
Back in 2023 there was talks about Microsoft rewriting the font stuff in Rust for similar reasons Apple is now doing the Swift move.
replyI'm not sure what became of it and if it ever shipped. If anyone knows I'd be curious.
DASD 19 minutes ago
Russinovitch (Azure's CTO/CISO) gave a speech at RustConf 2025 and mentions it(DirectWriteCore) took 2 engineers 6 months resulting in 154K LOC and 5-15 percent performance increase for font shaping. https://www.youtube.com/watch?v=uDtMuS7BExE&list=PL2b0df3jKK...
replysaagarjha 59 minutes ago
Interesting that this is published under the MIT, rather than Apple’s more favorite Apache 2, license
replyairstrike 33 minutes ago
As much as I enjoyed Swift, one can only wonder what the world would look like if they had gone with Rust as their default language instead.
replyjadengeller 20 minutes ago
Modern Swift borrows a lot from Rust! And it also has its own benefits, both ergonomic and also supporting eg generic in dynamic libraries
replyLoganDark 43 minutes ago
I'm surprised the code has visible LLM smells. Though, I shouldn't be surprised. I hope the important bits are still human-controlled (and the same for Apple's many operating systems that absolutely deserve to remain stable and understood).
replyairspeedswift 31 minutes ago
I assure you, every inch of the interpreter code has been stared at by humans, a lot. TBH even the assembly generated by it has.
replydgellow 41 minutes ago
From what I got Apple is using claude code A LOT internally
replyCassell 4 minutes ago
It would be interesting to see their internal guidance on LLM use. It’s a massive amount of new power that has to be wielded carefully. That kind of guidance might mean the survival or downfall of some big corps in the next few years.
replywahnfrieden 34 minutes ago
Yes they are using Claude Code - not the Xcode agents.
replyIt worries me. I hope Codex adoption picks up there.
RIS is happening across all OS levels, if the keynote is to be believed.
In any case I would have liked to have more info during the deep dive sessions.
As it is, Meet with Apple on security (a 5h long event) had much more information.