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.

Popular General Dev topics Top

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1016 16828 371
New
justinjunodev
Figured this would be a cool topic and maybe provide some inspiration for those who are just starting to work from home. Feel free to sha...
New
siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
foxtrottwist
Here’s our thread for the Keyboardio Atreus. It is a mechanical keyboard based on and a slight update of the original Atreus (Keyboardio ...
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
Margaret
PragProg is having a crazy-good book sale right now :money_mouth_face:. Get 50% off the following Web-related titles with coupon code Mo...
New
DevotionGeo
I installed Github Copilot (VS Code extension) and signed up for the technical preview three days ago. Yesterday I got the invitation, an...
New
hskohli
We are looking to hire a freelancer to design the complete pipeline for the following problem statement: Hardware to be used: Jetson Na...
New
First poster: bot
Apple’s Tim Cook to take 50% pay hit after shareholder feedback. ‘Target compensation’ for CEO down from $99.4m in 2022 to an expected $...
New

Other popular topics Top

PragmaticStudio
Let’s get real. As in really knowing—clearly and practically—what’s up with Phoenix LiveView. What is it? How does it work? What can I ...
New
AstonJ
Or looking forward to? :nerd_face:
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
First poster: joeb
The File System Access API with Origin Private File System. WebKit supports new API that makes it possible for web apps to create, open,...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New
First poster: bot
Large Language Models like ChatGPT say The Darnedest Things. The Errors They MakeWhy We Need to Document Them, and What We Have Decided ...
New
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
New