Emscripten’s compiled Web Assembly, used minimally

Sam Thorogood on Dev.to writes,
Why did I write this post? Emscripten is a wonderful tool, but it has a long history (for asm.js), and isn’t perfect. I think it errs too much on the side of “magic”, and many posts rave about how it’s so easy to EM_ASM_ or use binding-fu, but this all comes at a cost, and can introduce huge amounts of inadvertent overhead—think copying huge memory buffers around because we’re trying to make them immutable or easily exposed.


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan

<p>Sam Thorogood on Dev.to writes,</p> <blockquote> <p>Why did I write this post? Emscripten is a wonderful tool, but it has a long history (for asm.js), and isn't perfect. I think it errs too much on the side of "magic", and many posts rave about how it's so easy to EM_ASM_ or use binding-fu, but this all comes at a cost, and can introduce huge amounts of inadvertent overhead—think copying huge memory buffers around because we're trying to make them immutable or easily exposed.</p> <p>Every language that is being compiled to Web Assembly needs a runtime—whether it be Go, or Rust, or C/C++ as we have here. I don't believe that we'll ever really be able to directly import Web Assembly via ES2015 modules, at least not without changes on the JS side. But it behooves us to write the smallest one we possibly can.</p> </blockquote> <p><a href="https://dev.to/samthor/emscriptens-compiled-web-assembly-used-minimally-4fd4">Read full post</a>.</p> <p>I think we all see the potential of wasm, bit for many of us a lot of the other platforms that are now able to come to the web are completely alien to us, and we really need to learn those tools, improve the wasm developer experience and imo offer prebuilt libraries that 'traditional web devs' can just use.</p>


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan


Print Share Comment Cite Upload Translate Updates
APA

Paul Kinlan | Sciencx (2018-07-11T21:05:59+00:00) Emscripten’s compiled Web Assembly, used minimally. Retrieved from https://www.scien.cx/2018/07/11/emscriptens-compiled-web-assembly-used-minimally/

MLA
" » Emscripten’s compiled Web Assembly, used minimally." Paul Kinlan | Sciencx - Wednesday July 11, 2018, https://www.scien.cx/2018/07/11/emscriptens-compiled-web-assembly-used-minimally/
HARVARD
Paul Kinlan | Sciencx Wednesday July 11, 2018 » Emscripten’s compiled Web Assembly, used minimally., viewed ,<https://www.scien.cx/2018/07/11/emscriptens-compiled-web-assembly-used-minimally/>
VANCOUVER
Paul Kinlan | Sciencx - » Emscripten’s compiled Web Assembly, used minimally. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2018/07/11/emscriptens-compiled-web-assembly-used-minimally/
CHICAGO
" » Emscripten’s compiled Web Assembly, used minimally." Paul Kinlan | Sciencx - Accessed . https://www.scien.cx/2018/07/11/emscriptens-compiled-web-assembly-used-minimally/
IEEE
" » Emscripten’s compiled Web Assembly, used minimally." Paul Kinlan | Sciencx [Online]. Available: https://www.scien.cx/2018/07/11/emscriptens-compiled-web-assembly-used-minimally/. [Accessed: ]
rf:citation
» Emscripten’s compiled Web Assembly, used minimally | Paul Kinlan | Sciencx | https://www.scien.cx/2018/07/11/emscriptens-compiled-web-assembly-used-minimally/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.