Swift SwiftPM
The Fix for SwiftPM's 200-Second Compile Bug Just Landed. It Skips the Type Checker Entirely.
A new Swift Forums pitch replaces embedInCode's byte-array literals with linked object files and Span<UInt8>, turning a 70-second, 7.2GB build into a 1.6-second one. Here's how it works and why one reviewer already isn't sure it's worth the complexity.
7 min read
Swift SwiftPM
SwiftPM Embeds Resources as Byte Arrays. One 165KB File Can Take 200 Seconds to Compile.
A fresh Swift Forums pitch wants to give SwiftPM's .embedInCode a real, path-preserving EmbeddedFileSystem — fixing both its lack of directory structure and a documented type-checker bug where a single resource file bloats debug build times by minutes.
6 min read