Binary format for the web
Conclusions
Although more or less integrated and developed, WebAssembly is still at a relatively early stage of its development. Some of the features that the design documents describe are still missing [35]. The producers of browsers and JavaScript engines still have much work to do. However, there are already indications of where the journey could be heading and the plans WebAssembly developers are forging.
Above all, the binary format, combined with the ability to compile almost any C and C++ code (if it is portable) offers many advantages, allowing for more efficient load times than with JavaScript (including asm.js). On the other hand, WebAssembly runs applications regardless of the platform, the browser, and the operating system.
If you want to keep track of development, it's best to visit the project's official website [1] and occasionally look at the Mozilla Developer page [36] or go through the article on Mozilla Hacks [33].
Infos
- WebAssembly: http://webassembly.org
- Emscripten SDK: https://kripken.github.io/emscripten-site/docs/tools_reference/emsdk.html
- Reference for the emcc Emscripten compiler: https://kripken.github.io/emscripten-site/docs/tools_reference/emcc.html
- "Creating and Working with WebAssembly Modules" by Lin Clark: https://hacks.mozilla.org/2017/02/creating-and-working-with-webassembly-modules/
- CC BY-SA 3.0: https://creativecommons.org/licenses/by-sa/3.0/
- asm.js: http://asmjs.org
- WebAssembly FAQs: http://webassembly.org/docs/faq/
- About Emscripten: http://kripken.github.io/emscripten-site/docs/introducing_emscripten/about_emscripten.html
- Emscripten documentation: http://kripken.github.io/emscripten-site/
- WebAssembly demos: http://webassembly.org/demo/
- Roadmap: http://webassembly.org/roadmap/
- WebAssembly W3C Community Group: https://www.w3.org/community/webassembly/
- WebAssembly consensus: https://lists.w3.org/Archives/Public/public-webassembly/2017Feb/0002.html
- Installing Emscripten SDK: https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html#linux
- Emrun: http://kripken.github.io/emscripten-site/docs/compiling/Running-html-files-with-emrun.html
- Listings for this article: http://www.linux-magazin.de/static/listings/magazin/2017/07/webassembly/
- Ported projects: https://github.com/kripken/emscripten/wiki/Porting-Examples-and-Demos
- Emscripten API reference: http://kripken.github.io/emscripten-site/docs/api_reference/emscripten.h.html
- Filesystem overview: https://kripken.github.io/emscripten-site/docs/porting/files/file_systems_overview.html
- MemFs: https://kripken.github.io/emscripten-site/docs/api_reference/Filesystem-API.html#filesystem-api-memfs
- node-fs: https://kripken.github.io/emscripten-site/docs/api_reference/Filesystem-API.html#nodefs
- IDBFS: https://kripken.github.io/emscripten-site/docs/api_reference/Filesystem-API.html#filesystem-api-idbfs
- Portability guidelines: http://kripken.github.io/emscripten-site/docs/porting/guidelines/portability_guidelines.html
- WebAssembly Binary Toolkit: https://github.com/WebAssembly/wabt
- Binaryen: https://github.com/WebAssembly/binaryen
- WebAssembly text format: http://webassembly.org/docs/text-format/
- WebAssembly Explorer: https://mbebenita.github.io/WasmExplorer/
- Open Web Platform: https://www.w3.org/wiki/Open_Web_Platform
- WebAssembly text format: https://developer.mozilla.org/en-US/docs/WebAssembly/Understanding_the_text_format
- Blog post on WebAssembly performance: http://www.stefankrause.net/wp/?p=405
- Computer Language Benchmarks Game: http://benchmarksgame.alioth.debian.org/u64q/nbody.html
- Massive benchmark: http://kripken.github.io/Massive/beta/
- "Why WebAssembly is Faster than asm.js" by Alon Zakai: https://hacks.mozilla.org/2017/03/why-webassembly-is-faster-than-asm-js/
- "A WebAssembly Toolchain Story" by Alon Zakai: http://kripken.github.io/talks/emwasm.html
- Missing features: http://webassembly.org/docs/future-features/
- Mozilla developer site: https://developer.mozilla.org/
« Previous 1 2 3 4 5
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.