Swift and C++ Interoperability Workgroup Announced
Tuesday, 08 February 2022

The Swift community has announced the formation of a workgroup the aim of which is to advance the interoperability support between Swift, the language originally developed by Apple as an alternative language to Objective C, and C++. 

Swift's designers aim was to provide a single language including the best ideas from languages such as C# and JavaScript, while being easy to use. It was made open source by Apple in 2015.

swiftlogo

 

The new initiative regarding C++ was announced by Alex Lorenz, who will be responsible for setting up the meetings, going through the discussion points, and posting the agenda and the meetings notes on the Swift forums. He pointed out that there has been a lot of interest in achieving bidirectional interoperability between Swift and C++, and noted that, with some hard work, the Swift compiler is now able to import and use some C++ APIs, including C++ standard library types like std::string and std::vector.

Lorenz said:

"To advance the interoperability support between Swift and C++, we are announcing the formation of the Swift and C++ interoperability workgroup as part of the Swift project."

The workgroup will provide the framework for those interested in Swift and C++ interoperability to:

"work together to refine the interoperability layer's goals and design. Additionally, the workgroup will establish an ongoing discussion about the related Swift compiler changes to implement interoperability support."

The initial focus for the workgroup will be on how to ensure a rapid development of the interoperability model between the two languages. To this end, they will design the interoperability model first, and then will bring it back for formal evaluation and discussion with the Swift community via the Swift evolution process.

Lorenz also announced a new "C++ interoperability" sub-section of the "Development" section on the Swift forums, open to everyone , that will be used for the relevant technical discussion posts on C++ interoperability.

swiftlogo

More Information

Swift and C++ interoperability workgroup announcement

Swift Org

Related Articles

Swift 5.2 Improves Performance

Swift Adds More Generics Support

Swift 4 Improves String Handling

Swift 3.0 Released!

Apple Launches Swift Playgrounds

Apple Open Sources Swift

Apple's New Language - Swift       

Swift 2 To Be Open Source       

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Grafana 12.1 Adds Monitoring Tool
19/08/2025

Grafana 12.1 has been released, with automated health checks for your Grafana instance, streamlined views in Grafana Alerting, and visualization updates. The release follows the major upgrade to Grafa [ ... ]



One Thousand Wooden Block Display
31/08/2025

Would that be 1K woodels? This is a crazy project that almost demands that someone tries to implement an alternative. Of course, you could do it. But first read something about the difficulties.


More News

pico book

 

Comments




or email your comment to: comments@i-programmer.info