"embed it into other languages" 在 Wasmer 中是什么意思?

What does "embed it into other languages" mean in Wasmer?

https://wasmer.io 上,显示

Use the tools you know and the languages you love. Compile everything to WebAssembly. Run it on any OS or embed it into other languages.

embed it into other languages是什么意思?我用谷歌搜索,但找不到任何相关答案。

比方说,我有一个编译为 WebAssembly 的 python 程序,我有一个 Java 程序来使用它。

  1. 我可以将 python 程序嵌入到 Java 程序中吗?
  2. 这是"embed it into other languages"吗?
  3. 怎么做?

他们说的是,你可以将 Wasmer 运行time 本身嵌入到各种语言中,然后将这种嵌入用于 运行 从任何其他源语言编译的 WebAssembly,只要它是对任何输入/输出使用 WASI API

您可以在 documentation page or on their Github account.

上找到当前支持的嵌入目标列表

截至撰写本文时,支持的目标包括:

不同的目标有不同的准备程度、支持和文档,但您可以在开始使用特定目标时提出更具体的问题。