dcsimg
June 20, 2018
Hot Topics:

Swift is Slow

  • June 11, 2014
  • By Developer.com Staff

So far, Apple's new programming language Swift has gotten a primarily positive reception from the mobile development industry. However, a few developers are now claiming that the language is slower than Objective-C on benchmark tests.

"What we were curious about was for the things that we do in-house, which is a lot of array work and a lot of working with these types of data, was Swift going to be as fast as Objective-C? In our tests, it wasn't." Splasm Software's Keith Gugliotto said. In fact, in one set of tests, Swift was between 6 and 40 times slower than Objective-C, and in another it ranged 10 to 20 percent slower.

In separate tests, a Finnish developer found that C++ and Python were also faster than Swift.

However, Gugliotto cautioned, "There's a heckuva lot more reasons to use a programming language than its performance. As long as the performance is relatively acceptable, if the language provides modern [capabilities] and at least allows you to develop quickly relative to other languages, that's a strong case for continuing to use it."

View article






Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.

Sitemap

×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date