Alright, everyone, time to show off! Share/comment with something you're proud of having done this past year, big or small!
I with a lot of help from a few awesome teammates completed the careful Tetris game I've been playing with chunks of iOS/macOS since 2018!
Before: Swift -> Foundation -> CoreFoundation -> ICU
After: Foundation -> Swift (Foundation and CF still link ICU, but Swift no longer has any dependencies above libsystem/libobjc)
This means that now
- Foundation has the option to use a memory safe language internally
- Most system components that Foundation depends on have the option to use a memory safe language internally
- Embedded environments like the Secure Enclave can use Swift
- Pure-Swift processes use less memory
- Swift Strings use less memory and are faster
- Swift WebAssembly programs can be much smaller to download
- NSString<->String bridging can use Foundation/CoreFoundation internals directly, resulting in some speedups
- The barrier to entry for adopting Swift in system components is lower, since they're already linking the runtime
There's much more to be done, but multi-year projects coming together feels real good.
On a more personal note, I've made a ton of progress in recovering from some traumatic events in 2020, and kinda feel like I'm back to being me.