Although Swift gives us powerful programming technologies such as generics, protocols, and type inference, if there’s one thing we can all agree has been sorely lacking it’s built-in support for scalable concurrent transactions using RESTful middleware and messaging.
Well, now that’s all set to change: today Apple announced a beta release of Swift Enterprise Edition, which finally delivers support for cutting-edge technologies like CORBA and UML, while also introducing a wholly new way of deploying apps that Apple has christened Swift Beans.
Swift Beans are 100% compatible with Xcode 10.2, meaning that you can immediately start brewing with Swift Enterprise Edition – and, more importantly, add it to your résumé.
Apple’s official announcement included some quotes from Ed Kermenek, the Swift project lead, giving some further details about how Swift Beans work: “Swift Beans are built on a much more advanced form of Bitcode, called the Apple Portable Runtime Intermediate Language. This lets us layer up abstractions in a way that has never been possible before – factories, builders, transaction services, and more.”
Several members of Apple’s Swift team have also been working hard on Swift Enterprise Edition, and responded to my questions on Twitter.
Jay Gorff, lead Swift Bean Brewer, said “Swift Beans are ready for widespread use: this technology give us the grounds to build firm foundations for today, but there’s also a latte you can do with it in the future – it has so many perks!”
Ben Corne, newly appointed maintainer of the Swift Bean Standard Library, added, “it’s been incredible how fast Swift Beans lets us solve real-world problems. Just yesterday I was able to write an all-new Swift Universal Command-line Kit written entirely in Swift Beans, and if it weren’t for the fact that its name spells ‘SUCK’ we’d be shipping it today.”
Steve Prestoff, head of public relations for Swift Enterprise Edition, had this to say: “I’m on a horse.”
HACKING WITH SWIFT LIVE This July is a new two-day event where you'll be inspired by great speakers on day one then learn all the amazing new features from WWDC on day two – click here for more information and tickets.
Paul Hudson is the creator of Hacking with Swift, the most comprehensive series of Swift books in the world. He's also the editor of Swift Developer News, the maintainer of the Swift Knowledge Base, and Mario Kart world champion. OK, so that last part isn't true. If you're curious you can learn more here.