Emscripten's compiled Web Assembly, used minimally

Paul Kinlan
Available in: English (Original) Deutsch Español Français मानक हिन्दी русский язык tiếng Việt தமிழ் bahasa Indonesia

Dev.toのSam Thorogoodは次のように書いています。

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 EMASM 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.

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.

全文を読む

私たちは誰もがうまくいくと思っています。私たちの多くは、今やウェブに来ることができる他の多くのプラットフォームが、私たちにとって全く異質なものです。これらのツールを学び、wasm開発者の経験を向上させる必要がありますそして、「伝統的なWeb開発者」がちょうど使うことができる事前ビルドされたライブラリを提供しています。

Paul Kinlan

Trying to make the web and developers better.

RSS Github Medium