MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
swift
Recherche

'Swift Finally Matches Objective-C in One Major Way'

lundi 10 juin 2019, 01:59 , par Slashdot/Apple
The editor of Dice's 'Insights' blog argues that Apple's Swift language 'has begun to eclipse Objective-C in a key way.'

Apple was never shy about prioritizing Swift. As one developer on Twitter pointed out, once Swift dropped, Objective-C documentation and tutorials quickly started vanishing. Since then, the company has iterated on Swift and continued to shy away from Objective-C (except when necessary, such as supporting libraries and frameworks). Swift 5 made an important step forward with ABI stability, which means Swift code worked directly with a binary interface. Before ABI stability, the only safeguard was code was compiled on the same compiler, a fingers-crossed approach Apple really had no option for avoiding...

Swift's performance has also improved. For some time, when compared to Objective-C, Swift compiled slower. Because of ABI stability, performance has improved, and compile-time differences have vanished... Apps written in version 5 are also roughly 10-15 percent smaller than Objective-C apps. Bridging performance also improved.

A lot has gone into Swift 5 to make it more stable, and those improvements have resulted in performance parity with Objective-C... It's time to seriously consider the move to Swift.

In 2017 the creator of Swift (and a self-described 'long-time reader/fan of Slashdot') began a five-month stint running Tesla's Autopilot team -- and stopped by to answer questions from Slashdot readers.

Read more of this story at Slashdot.
rss.slashdot.org/~r/Slashdot/slashdotApple/~3/WTI44BL8SOA/swift-finally-matches-objective-c-in-one-m...
News copyright owned by their original publishers | Copyright © 2004 - 2020 Zicos / 440Network
Date Actuelle
mer. 21 oct. - 01:39 CEST