SSWG meeting notes - May 22, 2024
Attendees
- @0xTim
- @finestructure
- @FranzBusch
- @graskind
- @jbelkins
- @ktoso
- @sebsto
- @tachyonics
- @taylorswift
- @tiborbodecs
Swift Lambda VSCode extension
We've got two guests Steven Van Impe & Marwane Koutar (AWS internship @sebsto was the mentor).
They created a VSCode extension to facilitate the development of a Swift Lambda function.
Live demo
- templates to initialize a project, such as API to Lambda
- utilizes a Makefile to bundle a zip file & the binary
- local invoke feature: test the Lambda functions locally
- automatic deployment from the VSCode extension
- remote invoke: call the deployed lambda function remotely
Swift Lambda VSCode extension
Extension is publicly available: just search for - Swift Lambda.
- Source is under swift-on-server-community @ GitHub
- Custom template support, everyone can create templates
- Early sneak peak, feedbacks are appreciated
2024 goals
Concurrency & Structured Concurrency adoptions
-
Guide for structured concurrency @FranzBusch @Joannis_Orlandos
- Ongoing work, some guides are in progress @FranzBusch
- @Joannis_Orlandos covered structured concurrency well on swiftonserver.com (link1, link2)
- We're good on this front, community is also helping. Our main focus shouldn't be concurrency. @FranzBusch
-
Overview of where we are standing with our libraries and the remaining work @FranzBusch
- Consensus reached on hiking ecosystem toolchain requirements to 5.8
Swift 6
-
Compatibility testing the packages @finestructure
- We've run four passes of Swift 6 toolchains across all packages and collected error stats
- Swift 6 status page just went live with the summary & overview @finestructure
- Still need to drill down into SSWG packages @finestructure can provide the results
- Everything in the Apple org + SSWG report would be nice @FranzBusch
-
NIO needs to finalize its Sendable annotations @FranzBusch
- Work is already scheduled, but not started just yet @FranzBusch
- @tiborbodecs send streaming related GitHub issue (HB2) link to @FranzBusch
Marketing
- Important to address ongoing discussions on forums, clarify misleading benchmarks @ktoso
- Think about two guides that either need to be overhauled or created from scratch
- Build out integrated example project @FranzBusch @tiborbodecs
- User group meetings @Joannis_Orlandos & @sebsto
- Show-case two server side projects/success stories @0xTim @ktoso
- swiftonserver.com @tiborbodecs @Joannis_Orlandos @taylorswift
- Integrated with swiftinit.org, including tooltip support
- Open to article contributions
- Can leverage our subscriber list
Tooling
- Apple interested in taking over Swiftly project - WIP @FranzBusch
HTTP server and middlewares
- Hummingbird is progressing well @Joannis_Orlandos @adam-fowler @FranzBusch @tachyonics @tiborbodecs
Benchmarks
- Get NIO benchmark results & share it with the compiler team @adam-fowler @tachyonics @Joannis_Orlandos @FranzBusch
Agenda
Josh Elkins
- Re-introduction to the workgroup members
- Upcoming product launch around September
- Can't commit time to SSWG until the end of the summer
- It is valuable to provide feedbacks and keep attending the meetings
Swift version support
- Swift projects support the last 3 versions or the versions from when they were released
Benchmarks
- Idea:
- Baseline benchmark, that we run somewhere or give instructions how to run it
- Share the results with the compiler team + optimize based on the results
- For example an http workload or something similar
- NIO HTTP server benchmark instead of Vapor benchmarks
- NIO optimization with ownership modifiers for example
- Framework level benchmarking brings in too much complexity
- Benchmarking goals:
- Make compiler folks to work on the issues
- Actually improve the numbers
- Propose to roll benchmarking into the SSWG goal this year.
- Do we want to benchmark AWS Lambdas?
- Already benchmarking HB & Vapor inside Lambdas, common use-case, but no exact method
Showcase
- Showcase - link
- Maybe a good candidate for an upcoming meetup around September?
- I have a contact there, I can ask about this.
swift.org - SSWG related pages
- Work in progress @tiborbodecs @Joannis_Orlandos
- Public fork available here.
- Add OpenAPI related tutorials to the top level page ask @Honza_Dvorsky about this.
- Add distributed actors guide, contact @Joannis_Orlandos + @tiborbodecs
- Why choose vapor or hummingbird? (pros / cons)
- Listing companies is going to be problematic, listing other tutorial sites should be fine.
- Will continue to work on the website together with @Joannis_Orlandos
Action items
Previous
@finestructure to share more details about Swift 6 testing process
@taylorswift , @FranzBusch triage _NIODataStructures compiler crash
@FranzBusch to add explanation for last-three-versions toolchain requirement to swift.org
@Joannis_Orlandos to make forums post promoting swiftonserver.com 1 guides
@Joannis_Orlandos , @taylorswift to make announcement about swiftonserver + swiftinit docs integration
Current
@finestructure provide Swift 6 test results for Apple & SSWG repos
@ktoso investigate task group crash
@ktoso @FranzBusch announce new SSWG members
@ktoso ask about showcase & upcoming meetup candidate around September
@taylorswift @FranzBusch triage _NIODataStructures compiler crash
@FranzBusch send an invitation to @tib for the HTTP server middleware repository
@FranzBusch add explanation for last-three-versions toolchain requirement to swift.org
@Joannis_Orlandos make forums post promoting swiftonserver.com guides
@Joannis_Orlandos @taylorswift make announcement about swiftonserver.com + swiftinit.org integration
@sebsto @tiborbodecs review and update swift.org deployment guides (AWS & others)
@tiborbodecs and @Joannis_Orlandos update swift.org website SSWG related pages