What is WebAssembly?

    As a programming language, WebAssembly is comprised of two formats thatrepresent the same structures, albeit in different ways:

    If you're curious about what a file looks like you can use the wat2wasmdemo with the above code.

    Is WebAssembly Just for the Web?

    Although it has currently gathered attention in the JavaScript and Webcommunities in general, wasm makes no assumptions about its hostenvironment. Thus, it makes sense to speculate that wasm will become a "portableexecutable" format that is used in a variety of contexts in the future. As oftoday, however, wasm is mostly related to JavaScript (JS), which comes in manyflavors (including both on the Web and Node.js).