Hey guys I would like to know the progress of GC proposal implementation on wasmtime. And is there some example we could learn from already?
Basically, I want to see if we can build a DOM structure from wasmtime to replace mozjs from Servo.
GC is not yet fully implemented but it's under development. For now you'll have to track PRs/issues manually
you can generally create GC objects on the host right now (eg https://docs.rs/wasmtime/latest/wasmtime/struct.StructRef.html) but the actual instructions are not all implemented yet (see https://github.com/bytecodealliance/wasmtime/pull/9275 for example)
This topic was moved here from #general > wasmtime GC example by fitzgen (he/him).
Thanks for the directions! I'll look into them.
Last updated: Nov 22 2024 at 17:03 UTC