Skip to content

add support for wasm js and fix browser type inference#121

Merged
CharlieTap merged 1 commit into
mainfrom
wasm-js-support
Jun 19, 2026
Merged

add support for wasm js and fix browser type inference#121
CharlieTap merged 1 commit into
mainfrom
wasm-js-support

Conversation

@CharlieTap

@CharlieTap CharlieTap commented Jun 19, 2026

Copy link
Copy Markdown
Owner

This enables wasmJs for Chasm's Gradle plugin, similar to the existing js support it leverages the wasm vm api built into the browser and does not uses chasms interpreter. We also fix type inference on web targets which was broken recently, historically we used features from the experimental type reflection proposal . This proposal was recently demoted and lost its champion, as a result it seems to have been yanked out of browsers, instead the codegen now wires through the relevant wasm types inferred at compile time by chasms binary decoder.

@CharlieTap CharlieTap merged commit 5f95e82 into main Jun 19, 2026
10 checks passed
@CharlieTap CharlieTap deleted the wasm-js-support branch June 19, 2026 17:25
@CharlieTap CharlieTap mentioned this pull request Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant