Live data from Hacker News

Apple Completes Migration of Key Service to Swift, Gains 40% Performance Uplift

infoq.com

11–15 of 15 posts

Re: Apple Completes Migration of Key Service to Swift, Gains 40% Performance Uplift

#11

I dunno a lot of migrations to X technology are pitched as valuable on one quality dimension. We improved performance by Y%! When software “quality” should really consider many criteria: correctness, performance, developer productivity, maintainability and others. I’d rather hear about a set of tradeoffs in these sorts of articles (performance was critical so we traded Y for X) than just bragging about one dimension…

> I dunno a lot of migrations to X technology are pitched as valuable on one quality dimension. We improved performance by Y%!

I'd add that more often than not these performance impacts are not due to changes in programming languages/frameworks/libraries/whatever but because some architecture or algorithmic constraint is done under the scope of the migration.

Re: Apple Completes Migration of Key Service to Swift, Gains 40% Performance Uplift

#12
post #9

TLDR: Native language wins over JVM optimisations. In my recent but limited experience of working on iOS apps, they do need any performance boost they can get anywhere. Coming to the Apple ecosystem (appstore connect, testflight, xcode etc) it's quite a shock on how slow it all is (using xcode on a Mac Mini M4 for development, and as for web updates/approvals etc I now understand the pain others have mentioned here).

I think you missed the 85% reduction in lines of code.

That sounds like a phenomenal reduction in complexity!

Post reply on HN