apple, swift

Apple Shares Plans for Swift 4.0

  • By
  • October 21, 2016
0 Comment

apple, swiftGet ready to meet the forthcoming version of the language Swift 4.0 developed by Apple company. After releasing version 3.0, the next version 4.0 is expected to be released next year.

The upgrade will range from resilience to memory ownership model to strings, with special focus on source stability for code and ABI stability for the standard library, as provided by documentation in GitHub.

To this effect, according to the plan, the Swift 4 release is divided into two steps. Firstly, Apple will consider those features that don’t impact on fundamental changing of the ABI of existing features in the language to a considerable degree.

Top-priority features corresponding to step 1 goals include accommodations to support code bases targeting different language versions, so Swift can deliver on source compatibility goals while progress goes on.

Another feature of step 1 is the resilience that can make APIs evolve while maintaining a stable ABI. Apple is looking for resilience that would eliminate the fragile base class problem that fairly often occurs in some object-oriented languages by describing types of API modifications that can be made without breaking the ABI.

It is said that Apple emphasizes generics improvements needed in the standard library. The library has several workarounds for language shortcomings, and “if the underlying language deficiencies remain, they become a permanent part of the stable ABI,” the documentation says. “Conditional conformances, recursive protocol requirements, and where clauses for associated types are known to be in this category, but it’s plausible that other features will be in scope if they would be used in the standard library.”

System programmers are seeking an opt-in Cyclone/Rust-inspired model for memory ownership models in high-performance applications. “This feature will fundamentally shape the ABI, from low-level language concerns such as ‘inout’ and low-level ‘addressors’ to its impact on the standard library,” says the GitHub documentation. “While a full memory ownership model is likely too large for Swift 4 stage 1, we need a comprehensive design to understand how it will change the ABI.”

Apple company claims it needs to amend code generation, notably interaction with the language’s runtime, to stabilize the ABI. “While not specifically user-facing, the decisions here affect performance and (in some rare cases) the future evolution of Swift.” The upgrade also seeks to make strings more powerful and easier to use while retaining correctness with Unicode.

The second step of Swift 4.0’s development, anticipated next spring, begins when implementation of step 1 features is “cresting” and contains various large and small features.

This story was initially published by InfoWorld.

Comments
* The most recent comment are at the top

Interesting posts

Achieving Your ISO Certification Made Simple

So, you’ve decided to step up your game and snag that ISO certification, huh? Good on you! Whether it’s to polish your company’s reputation, meet supplier requirements, or enhance operational efficiency, getting ISO certified is like telling the world, “Hey, we really know what we’re doing!” But, like with any worthwhile endeavor, the road to… Read More »

What is Replacing Microsoft MCSA Certification?

Hey there! If you’ve been around the IT block for a while, you might fondly remember when bagging a Microsoft Certified Solutions Associate (MCSA) certification was almost a rite of passage for IT pros. This badge of honor was crucial for those who wanted to master Microsoft platforms and prove their mettle in a competitive… Read More »

5 Easiest Ways to Get CRISC Certification

CRISC Certification – Steps to Triumph Are you ready to stand out in the ever-evolving fields of risk management and information security? Achieving a Certified in Risk and Information Systems Control (CRISC) certification is more than just adding a prestigious title next to your name — it’s a powerful statement about your expertise in safeguarding… Read More »

Complete VMware Certification Guide 2024

Hello, tech aficionados and IT wizards! Ever thought about propelling your career forward with a VMware certification? If you have, great – you’ve landed in the perfect spot. And if you haven’t, get ready to be captivated. VMware stands at the forefront of virtualization and cloud infrastructure globally, presenting a comprehensive certification program tailored to… Read More »

How Cisco CCNA Certification Can Boost Your IT Career?

Hello, fellow tech aficionados! Are you itching to climb the IT career ladder but find yourself at a bit of a standstill? Maybe it’s time to spice up your resume with some serious certification action. And what better way to do that than with the Cisco Certified Network Associate (CCNA) certification? This little gem is… Read More »

What You Need to Know to Become Certified Information Security Manager?

Curious about the path to Certified Information Security Manager? Imagine embarking on a journey where each step brings you closer to mastering the complex realm of information security management. Picture yourself wielding the prestigious Certified Information Security Manager (CISM) certification, a beacon of expertise administered by the esteemed Information Systems Audit and Control Association (ISACA).… Read More »

img