Apple announces full Swift rewrite of the Foundation framework (2022)
1–10 of 402 posts
Re: Apple announces full Swift rewrite of the Foundation framework (2022)
#2Re: Apple announces full Swift rewrite of the Foundation framework (2022)
#3https://mjtsai.com/blog/2022/12/12/the-swifty-future-of-foun...
Re: Apple announces full Swift rewrite of the Foundation framework (2022)
#4(Todd said this would never happen)
Also, this is great news, and it will be interesting to see what kind of real-world changes in performance this has.
Re: Apple announces full Swift rewrite of the Foundation framework (2022)
#5I’m sure it is, but this is not solving the right problem at all. Calendar is all UI. It needs to be lovingly gone over, not this.
Re: Apple announces full Swift rewrite of the Foundation framework (2022)
#6“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, date calculation).” I’m sure it is, but this is not solving the right problem at all. Calendar is all UI. It needs to be lovingly gone over, not this.
Re: Apple announces full Swift rewrite of the Foundation framework (2022)
#7“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, date calculation).” I’m sure it is, but this is not solving the right problem at all. Calendar is all UI. It needs to be lovingly gone over, not this.
Re: Apple announces full Swift rewrite of the Foundation framework (2022)
#8Todd, you owe me $20. (Todd said this would never happen) Also, this is great news, and it will be interesting to see what kind of real-world changes in performance this has.
Re: Apple announces full Swift rewrite of the Foundation framework (2022)
#9“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, date calculation).” I’m sure it is, but this is not solving the right problem at all. Calendar is all UI. It needs to be lovingly gone over, not this.
> NSCalendar objects encapsulate information about systems of reckoning time in which the beginning, length, and divisions of a year are defined.
> The Swift overlay to the Foundation framework provides the Calendar structure, which bridges to the NSCalendar class.
https://developer.apple.com/documentation/foundation/nscalen...