Swift Language's Avatar

Swift Language

@swift.org

Swift is a general-purpose programming language that's fast, modern, safe, and a joy to write. Designed for all, developed in the open.

2,856
Followers
0
Following
79
Posts
15.11.2024
Joined
Posts Following

Latest posts by Swift Language @swift.org

VSCode disassembling generated WebAssembly code from a Swift breakpoint.

VSCode disassembling generated WebAssembly code from a Swift breakpoint.

Great language support means nothing without great tooling. Watch Jonas Devlieghere show how LLDB brings first-class debugging to Swift on WebAssembly. fosdem.org/2026/schedul... #Wasm #FOSDEM

04.03.2026 23:02 πŸ‘ 40 πŸ” 9 πŸ’¬ 0 πŸ“Œ 0

Adding to that, here's a small wrap-up post about the pre #fosdem Swift Community Event, including the long awaited group pic! :-)

forums.swift.org/t/wrapping-u...

Thank you everyone for joining us! #swiftlang

03.03.2026 06:09 πŸ‘ 25 πŸ” 4 πŸ’¬ 0 πŸ“Œ 0

BridgeJS landed as an MVP just two weeks ago, and is evolving fast.

Check it out with the interactive playground β€” paste Swift, and see the generated results live: swiftwasm.org/JavaScriptKi...

Docs here: swiftpackageindex.com/swiftwasm/ja...

03.03.2026 17:27 πŸ‘ 6 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Bridging options:
1. Annotate a Swift class or type with @​JS to create bindings for JS/TS code
2. Import an existing JavaScript class or function with @​JSClass or @​JSFunction on the Swift side
3. Or create a bridge-js.d.ts file to export TypeScript APIs to Swift

03.03.2026 17:27 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Left side: Swift types with @​JS annotation.
Right side: fully generated TypeScript interfaces and exports.

You write @​JS. BridgeJS writes everything else.

03.03.2026 17:27 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
The BridgeJS Playground at https://swiftwasm.org/JavaScriptKit/PlayBridgeJS/

The BridgeJS Playground at https://swiftwasm.org/JavaScriptKit/PlayBridgeJS/

Swift/JS interop used to mean "JSObject", "JSValue", and runtime surprises.

BridgeJS changes that: annotate your Swift, get typed glue code in both directions. Compile-time safe. Zero manual boilerplate. 🧡

03.03.2026 17:27 πŸ‘ 36 πŸ” 9 πŸ’¬ 1 πŸ“Œ 0
Preview
What's new in Swift: February 2026 Edition Welcome to this edition of β€œWhat’s New in Swift,” where we share interesting projects and updates in the Swift community that deserve visibility to a broader audience.

Lots of great things happening with Swift: here’s the latest edition of our news digest: www.swift.org/blog/whats-n...

03.03.2026 00:18 πŸ‘ 28 πŸ” 5 πŸ’¬ 0 πŸ“Œ 1

Swift 6.2.4: available with swiftly install latest βœ…
Bugs: fixed πŸ”¨
Builds: faster ⚑️
Closures: smoother 🧈
Details: here πŸ”— forums.swift.org/t/announcing...

27.02.2026 21:23 πŸ‘ 28 πŸ” 1 πŸ’¬ 2 πŸ“Œ 0

πŸš€ New libraries for @GraphQL on Vapor and Hummingbird dropped!

Expose GraphQL APIs with just one line of code:
routeBuilder.graphql(schema: schema) { ... }

βœ… Full spec compliance
βœ… WebSocket subscriptions
βœ… Built-in GraphiQL IDE

Check them out πŸ‘‡
forums.swift.org/t/introducin...

24.02.2026 18:50 πŸ‘ 27 πŸ” 7 πŸ’¬ 0 πŸ“Œ 1
Swift System Metrics visualized in Grafana, demonstrating what's possible with real-time monitoring.

Swift System Metrics visualized in Grafana, demonstrating what's possible with real-time monitoring.

πŸ“Announcing Swift System Metrics 1.0! πŸŽ‰ A stable API for process-level monitoring on Linux and macOS. Add it to your service in a few lines, plug into Prometheus or OTel, and start visualizing in Grafana. Contributions welcome! www.swift.org/blog/swift-s...

20.02.2026 22:07 πŸ‘ 47 πŸ” 7 πŸ’¬ 0 πŸ“Œ 0
β€œAfter 20 years of shipping web applications, I have never seen fewer crashes and bugs make it to production. Performance has also been excellent, especially after moving our templates to Elementary. Our heaviest pages make it to the browser in less than 100ms.” (Nick Sloan, Studioworks)

β€œAfter 20 years of shipping web applications, I have never seen fewer crashes and bugs make it to production. Performance has also been excellent, especially after moving our templates to Elementary. Our heaviest pages make it to the browser in less than 100ms.” (Nick Sloan, Studioworks)

πŸ—žοΈNews from Swift: web apps, a new mail stack, 3D printing, embedded Swift updates, and some community events. Read all about it in the latest Swift blog post: www.swift.org/blog/whats-n...

31.01.2026 00:21 πŸ‘ 42 πŸ” 7 πŸ’¬ 0 πŸ“Œ 1
Swift Community Showcase featuring recent projects: Swift Argument Parser alternative, Swift for Yocto embedded Linux, LLM Context Management, GraphQL Generator build plugin, ElementaryUI web framework, Service dependency injection for Swift Concurrency, Algebraic Effects, Iris 2D game engine, monocle CLI for coding agents, Typhoon async retry framework, Alarik S3-compatible storage, and TaylorTorch LibTorch wrapper. Stats: 12+ projects this month, 500+ total community showcases.

Swift Community Showcase featuring recent projects: Swift Argument Parser alternative, Swift for Yocto embedded Linux, LLM Context Management, GraphQL Generator build plugin, ElementaryUI web framework, Service dependency injection for Swift Concurrency, Algebraic Effects, Iris 2D game engine, monocle CLI for coding agents, Typhoon async retry framework, Alarik S3-compatible storage, and TaylorTorch LibTorch wrapper. Stats: 12+ projects this month, 500+ total community showcases.

πŸ“½οΈ Lots of fun projects being showcased on the forums recently. Here are a few recent favorites... Check out forums.swift.org/c/community-... for more!

27.01.2026 23:32 πŸ‘ 30 πŸ” 6 πŸ’¬ 0 πŸ“Œ 0

The @swift.org team is demonstrating a level of consistency that makes me believe they really want to see the Swift programming language thrive outside of the Apple ecosystem.

26.01.2026 22:23 πŸ‘ 94 πŸ” 12 πŸ’¬ 3 πŸ“Œ 0
Preview
Announcing the Windows Workgroup We are excited to announce the creation of the Windows workgroup!

Windows developers, you're invited! πŸͺŸ
We just launched a Windows workgroup to make Swift even better on Windows: improving the toolchain, core packages, API bridging, and deployment experiences.
Curious? Interested in contributing? You're welcome here. πŸ‘‰ swift.org/blog/announcing-windows-workgroup/

26.01.2026 20:52 πŸ‘ 77 πŸ” 24 πŸ’¬ 3 πŸ“Œ 4
Preview
Improving the usability of C libraries in Swift There are many interesting, useful, and fun C libraries in the software ecosystem. While one could go and rewrite these libraries in Swift, usually there is no need, because Swift provides direct inte...

Your favorite C library, now with Swift superpowers. 🦸

New post: how to transform C APIs into idiomatic Swift, with enums, automatic reference counting, and argument-labeled methods. Best of all: no header changes needed, thanks to API notes! πŸ₯³ www.swift.org/blog/improvi...

22.01.2026 23:17 πŸ‘ 39 πŸ” 9 πŸ’¬ 1 πŸ“Œ 0
A preview image of the typeset book.

A preview image of the typeset book.

πŸ“šCheck out this beautiful contribution by
@peterfriese.dev: a typeset PDF of The Swift Programming Language book, our official reference to Swift, produced with Typst. Download and read the PDF here: github.com/peterfriese/...
@typstapp.bsky.social

15.01.2026 16:57 πŸ‘ 72 πŸ” 9 πŸ’¬ 4 πŸ“Œ 2
On Progressive Disclosure in Swift - Doug Gregor - Swift Craft 2025
On Progressive Disclosure in Swift - Doug Gregor - Swift Craft 2025 YouTube video by Swift Craft

"Build a balance bike, not training wheels." Doug Gregor's Swift Craft talk describes Swift's progressive disclosure: start with the simple stuff, reach for the advanced stuff when you need it, and never have to throw out what you've learned.
www.youtube.com/watch?v=opqK...

13.01.2026 17:59 πŸ‘ 18 πŸ” 5 πŸ’¬ 0 πŸ“Œ 0
Swift @ FOSDEM 2026

FOSDEM, the legendary open source gathering in Brussels, is coming soon, and we'd love to see you there! We've got multiple talks on Swift plus a pre-FOSDEM community meetup. Whether you're a longtime attendee or new to the event, come say hi! πŸ‘‹ swiftlang.github.io/event-fosdem/ #FOSDEM

09.01.2026 19:05 πŸ‘ 32 πŸ” 8 πŸ’¬ 0 πŸ“Œ 0
Preview
GitHub - tomasf/Cadova: Swift DSL for parametric 3D modeling Swift DSL for parametric 3D modeling. Contribute to tomasf/Cadova development by creating an account on GitHub.

Always interesting to see new Swift projects pop up on Hacker News. Here's one that's trending right now: github.com/tomasf/Cadova

03.01.2026 18:41 πŸ‘ 38 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
What's new in Swift: December 2025 Edition Welcome to the latest digest of news from the Swift project.

πŸ—“οΈ2025 was a great year for Swift 🍾 Thank you all for choosing Swift. We're ending the year with a digest of what's been going on in the project and community recently. πŸ—žοΈ Read up here: www.swift.org/blog/whats-n...

20.12.2025 01:02 πŸ‘ 35 πŸ” 9 πŸ’¬ 1 πŸ“Œ 0
Post image

Exploring the Swift SDK for Android: updates on ongoing progress! www.swift.org/blog/explori...

18.12.2025 23:52 πŸ‘ 46 πŸ” 12 πŸ’¬ 0 πŸ“Œ 1

New in Swift 6.2.3, available both separately and as part of Xcode 26.2: a way to express enums that can add new cases over time without breaking compatibility: github.com/swiftlang/sw...

18.12.2025 22:19 πŸ‘ 33 πŸ” 5 πŸ’¬ 0 πŸ“Œ 1
Swift @ FOSDEM 2026

Planning to attend FOSDEM next year? Here's a guide to some of the Swift talks and connection events that will take place: swiftlang.github.io/event-fosdem/

18.12.2025 03:44 πŸ‘ 25 πŸ” 2 πŸ’¬ 0 πŸ“Œ 1
Post image

βš™οΈ Swift Configuration 1.0 is here! πŸŽ‰ No more juggling environment variables, config files, and command-line flags separately. One unified, type-safe API to read configuration from any source, and swap providers without refactoring your code. More here... www.swift.org/blog/swift-c...

11.12.2025 22:37 πŸ‘ 71 πŸ” 16 πŸ’¬ 0 πŸ“Œ 1
Preview
Announcing Swift 6.2.2! We are happy to announce the release of Swift 6.2.2. Install Swift Toolchain Install via Swiftly swiftly install 6.2.2 or swiftly install latest Download toolchain directly from Install Swift | Sw...

Swift 6.2.2 is here. This maintenance release includes minor bug fixes to keep your development running smoothly. Install via swiftly (Mac/Linux), Docker, or directly from our website. More here: forums.swift.org/t/announcing...

09.12.2025 20:41 πŸ‘ 39 πŸ” 6 πŸ’¬ 0 πŸ“Œ 0
import Foundation

let calendar = Calendar.current

let openSourceDay = calendar.date(from: DateComponents(year: 2015, month: 12, day: 3))!
let anniversary = calendar.date(byAdding: .year, value: 10, to: openSourceDay)!

if calendar.isDateInToday(anniversary) {
    print("10 Years of Swift open source! πŸŽ‰")
}

import Foundation let calendar = Calendar.current let openSourceDay = calendar.date(from: DateComponents(year: 2015, month: 12, day: 3))! let anniversary = calendar.date(byAdding: .year, value: 10, to: openSourceDay)! if calendar.isDateInToday(anniversary) { print("10 Years of Swift open source! πŸŽ‰") }

πŸŽ‰ 10 years of open source Swift! A decade ago today, we opened Swift to the world with a simple blog post: swift.org/blog/welcome

What's grown sinceβ€”thanks to an incredible community of contributorsβ€”has been extraordinary. Here's to the next ten years. 🧑

04.12.2025 00:08 πŸ‘ 88 πŸ” 29 πŸ’¬ 1 πŸ“Œ 2

We’re just getting started!

28.11.2025 04:59 πŸ‘ 6 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

πŸŽ„This year's Advent of Code promises fun coding challenges for all! And if you haven't tried Swift before, it's a great way to get started. Join the Swift challenge board here: forums.swift.org/t/advent-of-...
#AdventOfCode

26.11.2025 21:13 πŸ‘ 32 πŸ” 5 πŸ’¬ 0 πŸ“Œ 0
Post image

βš™οΈ Swift progress on embedded Swift, for memory-safe, fast code in resource-constrained environments. The latest updates are coming to Swift 6.3, and you can read more here: www.swift.org/blog/embedde... #IoT

17.11.2025 21:29 πŸ‘ 74 πŸ” 14 πŸ’¬ 0 πŸ“Œ 1
Preview
GSoC 2025 Showcase: Improved Console Output for Swift Testing The Swift community participated in Google Summer of Code 2025, and we’ve recently been showcasing all of the projects and work accomplished here on the Swift blog. You can learn more by following the...

πŸ§ͺ Our final post on this year’s GSoC projects focuses on work by Kelvin Bui to improve console output for testing: www.swift.org/blog/gsoc-20... Thanks to all our contributors and mentors!

15.11.2025 02:20 πŸ‘ 34 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0