Stream: git-wasmtime

Topic: wasmtime / Issue #1554 What's the relationship/difference...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 20 2020 at 02:26):

leonwanghui opened Issue #1554:

Hi all, recently I'm going to develop a C/C++ app that can be built in WASM module, then adopted in wasmtime environment.

When I look through the WebAssembly repository, there are two projects (wasm-c-api and wasi-sdk) listed. When I found wasmtime is relied to wasm-c-api to support WASM format, I have several questions listed below:

Maybe I have some misunderstanding between these two projects, would be appreciated if anyone could offer some suggestion.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 20 2020 at 08:18):

bjorn3 commented on Issue #1554:

wasi-sdk is for programs that are compiled to wasm. wasm-c-api is for native programs to embed a wasm runtime.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 20 2020 at 08:23):

leonwanghui commented on Issue #1554:

Can wasmtime support the wasm-based app compiled with wasi-sdk?

@bjorn3 Thanks for clarification. Does that mean I can use wasmtime to run wasm compled with wasi-sdk? Is there some version compatible constraints on them?

view this post on Zulip Wasmtime GitHub notifications bot (Apr 20 2020 at 08:23):

leonwanghui edited a comment on Issue #1554:

Can wasmtime support the wasm-based app compiled with wasi-sdk?

@bjorn3 Thanks for clarification. Does that mean I can use wasmtime to run wasm compiled with wasi-sdk? Is there some version compatible constraints on them?

view this post on Zulip Wasmtime GitHub notifications bot (Apr 20 2020 at 08:40):

bjorn3 commented on Issue #1554:

Does that mean I can use wasmtime to run wasm compiled with wasi-sdk?

Yes

Is there some version compatible constraints on them?

As far as I know wasmtime supports all currently existing versions of WASI. In fact wasmtime is kind of the playground to implement new WASI api's.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 20 2020 at 08:42):

leonwanghui commented on Issue #1554:

@bjorn3 Thanks a lot! I'll have a try recently : )

view this post on Zulip Wasmtime GitHub notifications bot (Apr 20 2020 at 08:42):

leonwanghui closed Issue #1554:

Hi all, recently I'm going to develop a C/C++ app that can be built in WASM module, then adopted in wasmtime environment.

When I look through the WebAssembly repository, there are two projects (wasm-c-api and wasi-sdk) listed. When I found wasmtime is relied to wasm-c-api to support WASM format, I have several questions listed below:

Maybe I have some misunderstanding between these two projects, would be appreciated if anyone could offer some suggestion.


Last updated: Dec 23 2024 at 12:05 UTC