WebAssembly Weekly - WebAssembly Weekly News

View this email in your browser
A free weekly round-up of all things WebAssembly

Issue #151


Exploitation of a JavaScriptCore WebAssembly Vulnerability

RET2.IO

This is a fascinating, but quite in-depth, article that describe a vulnerability (which has been patched) that some researchers found in JavaScriptCore, the JavaScript engine used in WebKit and Apple Safari. This article also gives some interesting insight into WebAssembly execution, which follows a similar tiered approach to JavaScipt, starting with running the wasm module within an interpreter and followed by multiple tiers of JIT optimisation.

In brief, this exploit focusses on the WebAssembly Interpreter. Through inspection of the code they realised that if the stack size exceeded 0xffffffff, it would overflow to zero, allowing them to escape from their allocated stack. Whilst a stack depth of 0xffffffff seems improbable, they found a creative way to achieve this.

Overflowing of integers is a tricky issue to address, sadly Rust doesn’t have a solid solution to this problem either.

Mastershot

MASTERSOT.APP

Mastershot is a web-based video editor, based on the WebAssembly version of FFmpeg which I wrote about a few months ago. By running the entire application client-side, Mastershot is able to provide a secure, fast and simple service. I’m sure we’ll see more WebAssembly-based browser applications in the future.

Making JavaScript run fast on WebAssembly

BYTECODEALLIANCE.ORG

This blog post looks at optimisation of JavaScript running within WebAssemly. - “Hang on”, I hear you say, “WebAssembly runs within the browser, alongside JavaScript, why would I run JavaScript within WebAssembly?” - good question!

The WebAssembly is being adopted as a runtime for various other environments, e.g. serverless, smart contracts, plugin host. In many of these instances there is a desire to run JavaScript code. So in a somewhat surprising ‘turning of the tables’, WebAssembly becomes the host for JavaScript.

let me help you

Unfortunately, many of the techniques used to make JavaScript run quickly within the browser (JIT) don’t work when it runs within WebAssembly.

This blog post covers a whole host of creative new ideas that make JavaScript run much more quickly within a WebAssembly host environment.

How to make plugins system with Rust and WebAssembly

ARCANA.RS

Talking of using WebAssembly as a host, this blog post explores gives a practical introduction to incoporating WebAssembly so that it can host plugins.

kalker

STRCT.NET

Kallker is a feature-rich scientific calculator that runs in the browser. It’s written in Rust, with the sourcecode all available on GitHub.




https://twitter.com/WasmWeekly
Website
Copyright © 2021 WebAssemblyWeekly, All rights reserved.
You received this email because you signed up to the WebAssemblyWeekly newsletter

Our mailing address is:
WebAssemblyWeekly
Scott Logic
1 St. James Place
Newcastle, NE1 4XF
United Kingdom

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Email Marketing Powered by Mailchimp

Older messages

WebAssembly Weekly News

Friday, May 28, 2021

A free weekly round-up of all things WebAssembly View this email in your browser A free weekly round-up of all things WebAssembly Issue #150 Introducing WebContainers: Run Node.js natively in your

WebAssembly Weekly News

Friday, May 14, 2021

A free weekly round-up of all things WebAssembly View this email in your browser A free weekly round-up of all things WebAssembly Issue #149 I'm really looking forward to being the track host for

WebAssembly Weekly News

Friday, April 30, 2021

A free weekly round-up of all things WebAssembly View this email in your browser A free weekly round-up of all things WebAssembly Issue #148 Welcome to issue #148 of WebAssembly (sometimes) Weekly, I

WebAssembly Weekly News

Friday, April 9, 2021

A free weekly round-up of all things WebAssembly View this email in your browser A free weekly round-up of all things WebAssembly Issue #147 Speeding Up Webamp's Music Visualizer with WebAssembly

WebAssembly Weekly News

Friday, March 26, 2021

A free weekly round-up of all things WebAssembly View this email in your browser A free weekly round-up of all things WebAssembly Issue #146 VM Matters: A Comparison of WASM VMs and EVMs in the

You Might Also Like

Do I get to put your AI idea in front of 100K people?

Tuesday, April 23, 2024

If you build something great, I want to tell the world about it ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

UnitedHealth breach may affect huge portion of US citizens

Tuesday, April 23, 2024

The Change Healthcare ransomware attack has led to a massive leak of US healthcare data View this email online in your browser By Alex Wilhelm Tuesday, April 23, 2024 Good morning, and welcome to

LW 130 - Building a Product Configurator

Tuesday, April 23, 2024

Building a Product Configurator Shopify Development news and articles Issue 130 - 04/23/2024 Read Online Liquid Weekly All Things Shopify Development How to Sell Personalized Products on Shopify 2024 -

New public workshop in June: architecting for fast flow

Tuesday, April 23, 2024

Get the early bird discount You are receiving this email because you subscribed to the microservices.io mailing list. Helping organizations accelerate software delivery I provide consulting and

Pnpm v9.0.0; Biome v1.7; ESLint v9.1.0; Node.js collaboration summit; Intl.Segmenter; tree shaking;

Tuesday, April 23, 2024

We have 9 links for you - Stay up-to-date on JavaScript and tools WorkOS, the modern API for auth and user identity. workos.com Sponsor WorkOS enables B2B SaaS companies to accelerate enterprise

New on VC+: Our Visual Briefing on the IMF's World Economic Outlook Report 🔮

Tuesday, April 23, 2024

We've compiled a visual analysis of the most important takeaways from IMF's latest report. View email in browser EXCLUSIVE PREVIEW Upcoming on VC+: Our Key Takeaways from IMF's World

Meta teases a limited-edition, Xbox-inspired Quest headset

Tuesday, April 23, 2024

The Morning After It's Tuesday, April 23, 2024. Meta announced it's opening up the Quest's operating system to third-party companies, allowing them to build headsets of their own. The Quest

Post from Syncfusion Blogs on 04/23/2024

Tuesday, April 23, 2024

New blogs from Syncfusion What's New in Blazor Query Builder: 2024 Volume 1 By Satheeskumar S This blog explores the new features added in the Syncfusion Blazor Query Builder component as part of

Police Chiefs Call for Solutions to Access Encrypted Data in Serious Crime Cases

Tuesday, April 23, 2024

THN Daily Updates Newsletter cover Java All-in-One For Dummies, 7th Edition ($27.00 Value) FREE for a Limited Time A beginning coder's resource for learning the most popular coding language

Edge 389: Understanding Large Action Models

Tuesday, April 23, 2024

One of the most important concepts in autonomous agents. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏