Skip to main content

Apple Has Officially Released Swift 4.0 Programming Language


Swift 4 is now officially released! Swift 4 builds on the strengths of Swift 3, delivering greater robustness and stability, providing source code compatibility
with Swift 3, making improvements to the standard library, and adding features like archival and serialization.

Apple has called Swift 4.0 a major language release that aims to deliver better stability. It comes with Swift 3 code compatibility and also makes improvements to the standard library.

Swift 4.0 release includes a faster and easier to use String implementation that helps one retain Unicode correctness, adding support for different substring operations.
This update enables type-safe serialization to external formats along with the support for archival of struct and enum types.
A welcome change in Swift 4.0 comes in the form of two new language modes, i.e., Swift 3.2 and Swift 4.0. Now you don’t need to modify your code to use the new compiler version.
New workflow features and more complete API for Swift package have also been introduced to help you develop packages easily.
It’s also worth noting that Swift 4.0 ships as a part of Xcode 9. Official binaries for Ubuntu 16.10, Ubuntu 16.04 and Ubuntu 14.04 are available for download. Find Swift’s code here on GitHub.
You can find more set of changes here in the announcement post.

Comments

Follow Us

WHAT'S HOT

Virtual and Augmented Reality: Transforming The Way We Look At The Internet and Data Security

Virtual and Augmented Reality have redefined every aspect of our modern world ranging from gaming, music, and pop culture, to business, human interaction, and development. However, ‘with great power comes great responsibility’. When it comes to a technology slowly becoming a part of some of our most sensitive aspects in our lives (finances, identity, and health), ensuring its safety is highly important. Despite this, many companies have certainly not done their part to ensure the better virtual reality security and, in turn,

Twin sisters CONJOINED at abdomen, liver and umbilical cord die soon after birth (photo)

> The Siamese twins who were born in Zambia a few days ago passed away > They were joined at the chest > The babies shared one abdomen, liver and umbilical cord The conjoined twins who had been born at KITWE Central Hospital in Zambia a few days ago, have passed away. The Siamese girls were delivered by a 19-year-old woman. They were joined by the chest, sharing one abdomen, liver and umbilical cord.

Which Is The Best Linux Distro For Beginners? — 2017 Edition

Are you looking for  a Linux distro that’s suitable for new users who are willing to start   an exciting Linux journey? Well, you’re at the right place. These days, Linux Mint is giving a tough competition to Ubuntu as it’s very beginner-friendly. Our other top recommendations are Zorin OS (which looks a lot like Windows operating system) and lightweight Linux Lite.

Google’s Open Source DIY Kit Turns Your Raspberry Pi Into An AI Assistant

The latest edition of the MagPi magazine includes a DIY kit created by Google that can be used to create a custom Google Home device powered by Raspberry Pi. A user can take advantage of the Google Assistant SDK and Google Cloud Speech API to enable voice control in their projects.