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

Best Gaming Linux Distros You Need To Try In 2017

Gaming on Linux scene is improving each year with better hardware support and increasing support from game developers. Apart from established distros like Ubuntu and Arch Linux, gamers are using gaming Linux distros like Steam OS to get a better experience. The other It’s gaming operating systems are Sparky Linux – Gameover

111 Popular And Most Useful Webpages On The Internet

With the sheer myriad of websites available on it, the internet can often prove to be a pretty overwhelming place. As such it becomes really difficult to single out the useful websites from the needless ones. So today we bring to you a list of some of the most interesting and useful

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.

Russian Hackers Used Kaspersky Software To Steal NSA Secrets And Code

According to a  report from WSJ , NSA’s classified data, which wasn’t supposed to leave the facility’s perimeter where a contractor worked, was stolen by Russian hackers. This incident