-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Support WASI target
One of the popular and emerging use cases for wasm apps is deploying/executing them in environments other than browsers, for example in the desktops, in the servers on the edge or on IOT devices. Example of these apps are backend web services, microservices in kubernetes clusters, desktop GUI, CLIs, etc.
At the moment, getting moonbit built app to deploy/run on the above environments requires using a few external tools, such as wit-bindgen, wasm-tools, wac, and possibly wasi-sdk (for c lib interop). The experience is fragmented, involves lots of trial and error and requires significant investment in terms of time and skill in understanding and using these external tools. Emphasising the last point, one basically needs to skill up on the rust language and its ecosystem to effectively use these external tools.
A moonbit application developer writing applications for the above mentioned deployment targets would be very productive if moonbit were to support wasi target in lieu of current 'wasm', 'wasmgc', and 'js'.