SA
Skip to main content

Swift

  • Programming Language for Apple platforms

Notes

brew reinstall --cask swiftformat-for-xcode
info

It should be Format File, not SwiftFormat > Format File.

F9FC1A.png

Apple Announces Full Swift Rewrite of the Foundation Framework

  • The Swift team has started to work on a new open-source implementation of the Foundation framework. To be written entirely in Swift, the new Foundation aims to improve performance by getting rid of conversion costs between Objective-C and Swift as well as to provide the opportunity for modularizing and cleaning it up
  • With a native Swift implementation of Foundation, the framework no longer pays conversion costs between C and Swift, resulting in faster performance
  • A reimplementation of Calendar in Swift is 1.5x to 18x as fast as the C one (calling from Swift in various synthetic benchmarks like creation and date calculation).