Multi-Platform Libraries With Swift for WebAssembly by Max Desiatov @ Wasm I/O 2024

preview_player
Показать описание
Wasm I/O 2024 - Barcelona, 14-15 March

WebAssembly support in Swift started as a community project and over the years evolved into an ecosystem of libraries and developer tools. The talk showcases features of Swift, including its ability to seamlessly interoperate with C and C++ libraries, all supported by the WebAssembly toolchain.

I’ll demo capabilities of Swift, directly calling into a lower level C++ library, using programmatic electronic music composition as an example. When compiled to Wasm, it can run in the browser or on the edge as well as natively on macOS, Linux, and Windows, with little changes to library code.
Рекомендации по теме
Комментарии
Автор

This is awesome. I'm glad I found this talk. I was looking to kick the WASM (and embedded) tires after the Swift 6.0 release, but I bumped into a whole different Swift Wasm based on 5.10. This is what I was looking for. That sent me down a rabbit hole of confusion. Great talk! Thanks! Also, thank you for making the example publicly available.

bslayerw