By John Gruber
Jiiiii — Free to download, unlock your anime-watching-superpowers today!
Jesse Squires has been benchmarking Swift against Objective-C during the beta releases:
If you recall the results from the previous post, then this should be quite shocking (in a good way). Take a deep breath. Yes, yes this is real life. The tables have completely turned (no pun intended). I’ve been running these trials since the first beta, and this is the first time that Swift has performed better than Objective-C for every single algorithm, with standard optimizations. And not only is Swift faster, but it is faster by significant margins.
There were some worrisome results from the first few Swift betas, but given that the language was designed by a compiler expert, I’m not surprised performance is going to be impressive in the 1.0 release.
★ Monday, 18 August 2014