Last year, my team shipped a Swift rewrite of Apple's TrueType hinting interpreter. The new code is strictly memory safe, relentlessly tested, and faster than the C code it replaced. This year, it is my pleasure to ship it for a second time—now as an open source package—and to share our experience!
Memory-safe. 13% faster on average. ⚡️ The TrueType hinting interpreter in macOS and iOS has been rewritten in Swift, replacing the original C implementation. Pixel-perfect accuracy was validated across 27 million glyphs. And the results: www.swift.org/blog/migrati...