Learn about the latest developments in Swift Server Workgroup from Joannis Orlandos. Topics include HTTP Types, Open API Kit, Distributed Actors, and Macros for server-side development.
Swift Server Workgroup focuses on HTTP Types and OpenAPI Kit for server-side Swift development.
Macros in server-side Swift offer reduced boilerplate code and enhanced customization for data structures.
Deep dives
The Journey into Server-Side Swift Development
Janus Orlando shares his journey into server-side Swift development, starting in 2015 when Swift was released on Linux. He discusses the challenges faced in setting up Swift on Linux initially and the decision to build a custom web framework. Orlando highlights the collaboration with Zewo and the development of a web server using Mogo Kitten and the exploration of new concepts in the server-side Swift ecosystem.
Evolution of Server-Side Swift Ecosystem
The conversation delves into the evolution of the server-side Swift ecosystem, with mentions of IBM workshop on Kitora, the introduction of Vapor, and the exploration of Swift Neo. The transition to Vapor 3 with event loop futures is discussed, along with the development of Vapor 3 and its impact on performance benchmarks. The integration of distributed actors and the growth of the server-side Swift community are highlighted.
OpenAPI Kit and Documentation Simplification
The emergence of OpenAPI Kit and its role in simplifying API documentation processes is explored, emphasizing the generation of OpenAPI documentation from Swift source code. The discussion extends to the integration of OpenAPI Kit in iOS app network calls generation and its compatibility with server-side frameworks like Vapor. The conversation transitions to the importance of documenting APIs in OpenAPI for seamless server and client integration.
Macros and Future of Server-Side Swift Development
The potential impact of macros on server-side Swift development is examined, focusing on the reduction of boilerplate code and customization possibilities for data structures like enums. The conversation touches on the utilization of macros for documentation improvements and the streamlining of mocking processes. The growing importance of community engagement and collaboration to enhance the server-side Swift ecosystem is emphasized.
Joannis Orlandos comes on to talk about the exciting work being done by the Swift Server Workground such as the new HTTP Types, Open API Kit, and Distributed Actors as well as the effects Macros will have on server-side development.