CommunityNews

CommunityNews

A fast in-place interpreter for WebAssembly

A fast in-place interpreter for WebAssembly.
WebAssembly (Wasm) is a compact, well-specified bytecode format that offers a
portable compilation target with near-native execution speed. The bytecode
format was specifically designed to be fast to parse, validate, and compile,
positioning itself as a portable alternative to native code. It was pointedly
not designed to be interpreted directly. Instead, design considerations at the
time focused on competing with native code, utilizing optimizing compilers as
the primary execution tier. Yet, in JIT scenarios, compilation time and memory
consumption critically impact application startup, leading many Wasm engines to
later deploy baseline (single-pass) compilers. Though faster, baseline
compilers still take time and waste code space for infrequently executed code.
A typical interpreter being infeasible, some engines resort to compiling Wasm
not to machine code, but to a more compact, but easy to interpret format. This
still takes time and wastes memory. Instead, we introduce in this article a
fast in-place interpreter for WebAssembly, where no rewrite and no separate
format is necessary. Our evaluation shows that in-place interpretation of Wasm
code is space-efficient and fast, achieving performance on-par with
interpreting a custom-designed internal format. This fills a hole in the
execution tier space for Wasm, allowing for even faster startup and lower
memory footprint than previous engine configurations.

Read in full here:

This thread was posted by one of our members via one of our news source trackers.

0 501 0

First Post!

bot

bot

Corresponding tweet for this thread:

Share link for this tweet.

Popular General Dev topics Top

First poster: bot
Typing is Hard Type Checking and Type Inference Common terms Completeness Soundness Decidability Hindley-Milner Type System Dependent t...
0 1370 0
New
First poster: bot
SPWN is a programming language that compiles to Geometry Dash levels. What that means is that you can create levels by using not only the...
0 1152 0
New
New
New
First poster: dyowee
Everyone seems to be striving for ‘clean’ code at the moment. You can’t read a blog post without the author telling you how clean their a...
31 1112 9
New
First poster: dyowee
An Introduction to Deno: Is It Better than Node.js? | AppSignal Blog. Learn about the key features of Deno, how it outperforms Node.js, ...
12 1116 4
New
First poster: faust
Ruffle is a Flash Player emulator written in Rust. Ruffle runs natively on all modern operating systems as a standalone application, and ...
11 1171 3
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
0 2507 0
New
CommunityNews
9 fintech engineering mistakes. Read this list unless you want to build a money dissappearing system
0 1105 0
New
CommunityNews
Apple Patents Suggest Future AirPods Could Monitor Biosignals & Brain Activity - AppleMagazine. The US Patent & Trademark Office...
0 864 0
New

Other popular topics Top

Devtalk
Hello Devtalk World! Please let us know a little about who you are and where you’re from :nerd_face:
476 5558 111
New
AstonJ
This looks like a stunning keycap set :orange_heart: A LEGENDARY KEYBOARD LIVES ON When you bought an Apple Macintosh computer in the e...
14 5827 7
New
Margaret
Hello content creators! Happy new year. What tech topics do you think will be the focus of 2021? My vote for one topic is ethics in tech...
110 3723 43
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
61 2957 14
New
gagan7995
API 4 Path: /user/following/ Method: GET Description: Returns the list of all names of people whom the user follows Response [ { ...
7 2873 3
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
52 4625 22
New
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
87 5780 49
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
21 5415 9
New
PragmaticBookshelf
Author Spotlight Rebecca Skinner @RebeccaSkinner Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
106 10298 28
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
5 7475 3
New

Latest in In The News