Stream: wasm

Topic: WASM binary compilers that emit WASM GC instructions?


view this post on Zulip Piotr Sarnacki (Nov 18 2024 at 19:06):

In my current project that uses WASM GC, I'm either writing WASM code myself or generating WASM code from Rust, but basically doing it 1 to 1, so for example WasmInstruction::local_get("$foo") would emit local.get $foo. I'm looking to make that more efficient and I'm wondering if there are any good ways to abstract code that uses proposals like WASM GC. As far as I could find projects using WASM GC usually have a custom implementation, but maybe there is something I missed? Bonus points if there is a tool in Rust that would help with that.

view this post on Zulip Piotr Sarnacki (Nov 25 2024 at 23:30):

I couldn't find anything, so I wrote my own, here is a thread about the Tarnik project: #general > Tarnik - a Rust macro for generating WASM GC code


Last updated: Dec 23 2024 at 13:07 UTC