Skip to content

What's the relationship/differences between wasm-c-api and wasi-sdk #1554

@leonwanghui

Description

@leonwanghui

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:

  • What's the difference between wasm-c-api and wasi-sdk?
  • Why wasmtime is relied on wasm-c-api rather than wasi-sdk to support WASI standard directly?
  • Can wasmtime support the wasm-based app compiled with wasi-sdk?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions