Swift Interop with Erlang's Distributed Actors: A Seamless Solution

2025-07-23
Swift Interop with Erlang's Distributed Actors: A Seamless Solution

A new actor system, `swift-erlang-actor-system`, enables Swift programs to seamlessly integrate with Erlang's distributed clusters. By wrapping Erlang's C node functionality, developers can use Swift's distributed actors to communicate with Erlang nodes. The system cleverly uses the @StableNames macro to address name mangling issues in cross-language remote calls and supports custom transport protocols. This provides an elegant solution for Swift and Erlang interoperability and paves the way for running Elixir applications on iOS and other Apple platforms.

Read more
Development Distributed Actors

Developing iOS Apps on Non-Apple Devices: Legal Minefield

2025-05-11
Developing iOS Apps on Non-Apple Devices: Legal Minefield

The possibility of building iOS apps on non-Apple devices has long been debated. This post highlights that the primary challenge is legal and licensing, not technical. Apple's Developer Program License Agreement explicitly forbids installing, using, or running iOS SDKs or other Apple software on non-Apple devices. While the Oracle v. Google case altered the copyright landscape regarding reverse engineering for compatibility, the author argues that deploying apps built on non-Apple devices directly to the App Store carries significant legal risk, with Apple retaining the right to terminate violating developer accounts.

Read more

Swift's WebAssembly Journey: Performance, Security, and the Future

2025-04-05
Swift's WebAssembly Journey: Performance, Security, and the Future

The Swift community has steadily improved WebAssembly support over the years, and this article outlines a vision and roadmap for its future. WebAssembly, with its portability, security, and high performance, is ideal for cross-platform applications. Swift's integration with WebAssembly expands its reach and enhances security, particularly in developer tools. Virtualizing Swift macros and SwiftPM plugins using WebAssembly offers stronger security and faster build times. Future goals include increased API coverage in core libraries, improved cross-compilation support, enhanced component model support, and a better debugging experience. The article also delves into platform-specific considerations like debugging, multi-threading, 64-bit address space, and shared libraries, showcasing the potential for Swift's flourishing within the WebAssembly ecosystem.

Read more