wasm-micro-runtime icon indicating copy to clipboard operation
wasm-micro-runtime copied to clipboard

Component model support

Open steren opened this issue 1 year ago • 6 comments

WASI has moved to preview 2, which is based on the Component Model.

In a recent community presentation, it was briefly mentioned that the component model would be in WAMR's roadmap, but I wasn't able to find an issue or more written information about this topic. I suggest using this issue as a feature request and as a way to attach any existing links to plans and timelines for this topic.

steren avatar Apr 14 '23 04:04 steren

technically, preview2 does not require component model. i agree it's nice to have component model though.

btw, to make component model useful, i suspect we need to align our import/export model to the standard semantics (cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/1353) because many of the current use cases of component model involves import/export heavily.

yamt avatar May 08 '23 08:05 yamt

btw, to make component model useful, i suspect we need to align our import/export model to the standard semantics

Yes, need fully alignment firstly.

lum1n0us avatar May 08 '23 08:05 lum1n0us

I'm extremely interested in preview 2 and component model support in wamr for our usage. Love to hear thinking on how to help this out with wamr.

squillace avatar Aug 13 '23 15:08 squillace

@squillace I am not sure about that. But would you mind sharing your usage about preview2 and component model. Since all I've heard about it are kinds of concern, and you are the first one to stand for it.

lum1n0us avatar Aug 24 '23 01:08 lum1n0us

+1 on interest in @squillace use case! happy to try to find ways to support via contribution here.

nilslice avatar Dec 05 '23 18:12 nilslice

how does preview2 work without component model? How does it know whether it is 32bit wasm or 64bit wasm?

trcrsired avatar Feb 09 '24 07:02 trcrsired