Stream: wit-bindgen

Topic: Info on resource types


view this post on Zulip Jackson Gardner (Jun 13 2022 at 23:36):

Hello! I'm experimenting with building a .wit specification for a WASM library I'm working on, and was looking at resource types. I know they are kind of new, but I'm having trouble finding info on the nuts and bolts of how they actually work. When I generate C bindings for a resource type there's a lot of stuff going on with new and free and how that interacts with the Canonical ABI and I'm having trouble wrapping my head around it. Is there anywhere I can read about some of these details?

view this post on Zulip Robin Brown (Jun 21 2022 at 19:31):

You can find some more info here:
https://docs.google.com/presentation/d/1ikwS2Ps-KLXFofuS5VAs6Bn14q4LBEaxMjPfLj61UZE/edit#slide=id.gb925422856_0_10
The link is the first slide of the proposed resources/handles information, earlier in the slides more context/motivation is given.

Handles and Resources WASI subgroup Jan 28, 2021

Last updated: Dec 23 2024 at 12:05 UTC