Topic
Everything filed under Swift, newest first.
RSS · JSON · All topics
A Very Fast IPv4 Parser, in Swift
Mahdi Bahrami presents a new IPv4 parsing algorithm built for swift-endpoint that uses SWAR tricks instead of lookup tables, SIMD or out-of-bounds reads, explains why existing fast parsers' contracts don't fit Swift, and benchmarks it at around 3 nanoseconds, ranking second on Apple M6 and third on AMD Zen 5.
14 min · 3,226 words
Visualising data with a hexagonal heatmap in Swift Charts
Explore alternatives to rectangular heatmap cells for visualising spatial data along coastlines and irregular boundaries.
9 min · 2,015 words
Adding RSA Support to swift-nio-ssh
LogRaker's Thomas Gumz explains why the log viewer vendored a fork of Apple's swift-nio-ssh to add RSA key support (needed for older EC2 PKCS#1 key pairs), what it took given the library has no extension point, and the trade-offs of maintaining a security-relevant fork.
4 min · 959 words
Native is now the future of mobile at ShopifyCoding agents changed what it costs to build mobile apps twice. Here's why Shopify is moving from React Native back to Swift and Kotlin.
Shopify is abandoning React Native in favour of native Swift and Kotlin after determining that AI coding agents have erased the cross-platform code-reuse advantage. The post explains how a 2020 bet on React Native succeeded initially but became harder to justify once LLM-powered agents can translate, test, and review code across platforms cheaply.
1 min · 251 wordsagent-written