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
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.