BridgeJS MVP Release! 🌉
This release marks the MVP of BridgeJS, a new interop mechanism that makes Swift-JavaScript interop faster, easier, and type-safe for WebAssembly apps.
With BridgeJS, you declare the shape of your API using Swift macros (or optionally TypeScript definitions), and the tool generates specialized glue code in both directions, exporting Swift to JavaScript and importing JavaScript into Swift.
Compared to the dynamic JSObject/JSValue APIs, BridgeJS offers significantly better performance through specialized codegen, compile-time type safety, and less boilerplate.
See the BridgeJS documentation to get started.
Note
You can quickly preview what interfaces will be exposed on the Swift/JavaScript/TypeScript sides using the BridgeJS Playground.
What's Changed
- Prevent cross-module inlining of remaining @_extern(wasm) functions by @fjtrujy in #631
- CI: Use debug builds for SwiftSyntax in ./Examples/Embedded by @kateinoigakukun in #632
Full Changelog: 0.44.0...0.44.1