SwiftWasm compiles yourSwift code toWebAssembly.
Compile Swift in the cloud and run in your browser.
Check outhow to get started and create a browser app written in Swift on your local machine.
Are you looking for a powerful playground environment with access to the SwiftUI API in you browser? Try ourSwiftWasm Pad!
You can also build and run short snippets right here in the text input below.
The SwiftWasm organization needs funding to continue sustainable development of our projects.
You can contribute onour GitHub Sponsors page or onOpen Collective.
SwiftWasm is ready for early adopters, but still needs extensive testing and polishing.
Want to help? Seethe list of outstanding issues for info on what still needs to be done.
We're working on integrating our patches into the official Swift compiler.
Want to help? Seethe pull request to see which commits needs to be submitted.
Wouldn't it be nice to invoke web APIs directly from Swift?
Want to help? Have a look atJavaScriptKit and give it a try. Report issues if you see any, submit PRs, and spread the word!
Getting Swift to work on WebAssembly required the hard work of many people:
Thanks.
Find us on:GitHubTwitterEmailDiscord
Website source | This website may collect information about you to improve your experience.Privacy policy.