wasm is comprised of: browser-based workloads server-side workloads when you're compiling your application to work on either of these (it's all wasm regardless), you need to specify a component....
wasm可用于浏览器和服务器端应用程序。编译应用程序为wasm时,需要指定组件和wit。可选工具包括jco(性能最佳)、javy和rollup。使用jco时需配置wit,typescript/javascript可通过wasi-http简化配置。