Article: Standardizing WASI - A WebAssembly System Interface #5
chungquantin
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys, I just found a great article about WASI. Today I learned about
wasm
and its ecosystem a bit because I was preparing for the upcoming PBA. Here is the exercise session that I am working on Polkadot Blockchain Academy - WASM executor. If you have time, you should give it a try. It is not related to blockchain but it gives you a candid view about the movement of the contemporary technology WASM.What I can conclude is the difference between
wasm32-unknown-unknown
andwasm32-wasi
. WASM is designed to be the Assembly language for a conceptual machine, not a physical machine. In that way,wasm32-unknown-unknown
is a target for a 32-bit memory architecture machine without awareness of the OS. The problem occurs as the standard library in high-level languages like Rust or C can't be used because there is no support for OS which means no support for kernel mode API.WASI is created to solve the issue of portability. Read it more here: https://hacks.mozilla.org/2019/03/standardizing-wasi-a-webassembly-system-interface/
Beta Was this translation helpful? Give feedback.
All reactions