assemblyscript icon indicating copy to clipboard operation
assemblyscript copied to clipboard

AS supports WASMGC?

Open Guo-yyds opened this issue 1 year ago • 8 comments

Question

If translated into wat format, will wasmGC related instructions appear, such as struct.new, etc.?

Guo-yyds avatar Dec 18 '23 04:12 Guo-yyds

Not yet. It's part of the plan though.

CountBleck avatar Dec 18 '23 05:12 CountBleck

As far as I know, the compiler's back-end binaryen currently supports wasmGC. Does the compiler's front end translate into wasmGC corresponding instructions?I mean the reason for not doing it is on the front end.

Guo-yyds avatar Dec 18 '23 07:12 Guo-yyds

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in one week if no further activity occurs. Thank you for your contributions!

github-actions[bot] avatar Jan 17 '24 23:01 github-actions[bot]

@MaxGraey Can we re-open this issue? Supporting WasmGC would be great for AS to thrive.

alienself avatar Mar 15 '24 15:03 alienself

It's my fault, sorry. I haven't implemented a good polyfill yet, and we need that before switching over to Wasm GC.

CountBleck avatar Mar 15 '24 15:03 CountBleck

Thanks @CountBleck! Any timeline for this?

alienself avatar Mar 15 '24 18:03 alienself