• MarTech Today
  • Sections
    • Ads
    • Marketing
    • Content
    • Sales
    • Analytics
    • Management
    • Resources
    • More
    • Home
  • MarTech Today
  • Ads
  • Marketing
  • Content
  • Sales
  • Analytics
  • Mgmt
  • Resources
  • More
  • Events
  • SUBSCRIBE

MarTech Today

MarTech Today
  • Ads
  • Marketing
  • Content
  • Sales
  • Analytics
  • Management
  • Resources
  • More
  • Events
  • Newsletters
  • Home
Martech: Marketing

A new language called WebAssembly is opening the door to the next generation of browsers

Backed by Google, Mozilla, Microsoft and others, it can dramatically boost performance, decrease download times and enable app-like experiences.

Barry Levine on March 24, 2017 at 4:46 pm
  • More
A still frame from a moving, generated landscape inside a browser using WASM

A still frame from a moving, generated landscape inside a browser using WASM

If you think of the online world as browser experiences versus app experiences, get ready to redraw your boundaries.

Mozilla, Google, Microsoft, Apple and others are excited about a newly emerging open programming tool that could help to radically transform web browsers into platforms for app-like experiences.

Called WebAssembly (WASM), it’s an assembly language for browsers that allows developers to write their applications in the popular C/C++ and then compile them for use in browsers.

This means:

  • dramatically decreased downloading times, so complex experiences — even highly detailed video games — can be quickly downloaded into a browser.
  • and much faster performance than HTML and JavaScript, although it can work alongside them.

The increase in performance is so great that major game-oriented software firms like Epic and Unity are experimenting with WebAssembly to re-create some of their challenging experiences inside a browser. Here’s a sample of videogame-like generated scenes running in a WASM-compatible browser:

Shortly after WASM was publicly announced in June of 2015, developer and author Eric Elliott posted about what it meant for online software creation:

We need WebAssembly because as flexible as JavaScript is, it’s still too hard to express many of the things we may want to in JavaScript, and the features we’d need to make it easy might add complexity to a language that already confuses many users.

WebAssembly gives us access to a set of low level building blocks that we can use to construct just about anything you can imagine.

… [what] some of us have really been missing is the ability to write most of the code in an amazing high-level language and still be able to drop down to a specialized, bare metal assembly language once in a while when we really need a boost.

And a video from Mozilla presents developers’ enthusiasm for the emerging tool:

WASM is already supported by two major browsers (Chrome and Firefox), as well as the test version of one of the four major browser engines (WebKit).

Mozilla Senior Engineer Luke Wagner pointed out to me that WebAssembly may be the first standards-based technology that began with the makers of the four biggest browsers at the table — Mozilla (Firefox), Google (Chrome), Apple (Safari) and Microsoft (Edge). An active W3C working group is currently engaged in making it a full standard.

Another browser-based technology — Progressive Web Apps (PWAs) — has also been doing its best to blur the line between browser and app experiences. Mozilla’s Director of Platform Product Management Martin Best told me that WASM can be used in conjunction with JavaScript to create higher performance experiences in PWAs than JavaScript can accomplish by itself.

He added that initial tests show WASM-built experiences can recreate as much as 80 percent of the performance of a native application, on a mobile device or on a desktop/laptop, but in a browser. And, of course, it’s still early in WASM’s life cycle.

Previously, functionality was often added to browsers through plugins. WebAssembly can provide that additional functionality but without plugins’ downloading requirement or security issues, even for such processing-intensive uses as video encoding, video games and image editing.

Mobile users are downloading fewer and fewer apps, and discovering new apps in app stores is an increasingly frustrating challenge. WebAssembly, PWAs, the coming of 5G mobile speeds and other developments are pointing to the day when the browser is not just the display window for web pages, but a fully realized portal into immersive experiences.



About The Author

Barry Levine
Barry Levine covers marketing technology for Third Door Media. Previously, he covered this space as a Senior Writer for VentureBeat, and he has written about these and other tech subjects for such publications as CMSWire and NewsFactor. He founded and led the web site/unit at PBS station Thirteen/WNET; worked as an online Senior Producer/writer for Viacom; created a successful interactive game, PLAY IT BY EAR: The First CD Game; founded and led an independent film showcase, CENTER SCREEN, based at Harvard and M.I.T.; and served over five years as a consultant to the M.I.T. Media Lab. You can find him at LinkedIn, and on Twitter at xBarryLevine.

Related Topics

Channel: Martech: Marketing

Subscribe to receive daily martech news and expert insights. See terms.


We're listening.

Have something to say about this article? Share it with us on Facebook and Twitter.

Get the daily newsletter digital marketers rely on.
See terms.

ATTEND OUR EVENTS

MarTech 2021: March 16-17

MarTech 2021: Sept. 14-15

MarTech 2020: Watch On-Demand

×

Attend MarTech - Click Here


Learn More About Our MarTech Events

White Papers

  • The 7 Phases of a Website Redesign
  • Rearchitecting Revenue: Accelerating Demand Through Data
  • Save Your Marketing by Fixing Bad Data, First
  • Precision Demand Generation: Create Meaningful Connections With Your Buyer
  • The Media-First Approach Why visual media must be a primary consideration for e-commerce businesses
See More Whitepapers

Webinars

  • The AI Revolution Is Coming to Every Stage of Your Buyer’s Journey
  • The Fundamentals of Link Building for E-Commerce & Affiliate Sites in 2021
  • Your Customer is Calling: Make the Most of Your Marketing Spend with Call Tracking
See More Webinars

Research Reports

  • Local Marketing Solutions for Multi-Location Businesses
  • Enterprise Digital Asset Management Platforms
  • Identity Resolution Platforms
  • Customer Data Platforms
  • B2B Marketing Automation Platforms
  • Call Analytics Platforms
See More Research

Register For MarTech - Free

Receive daily martech news and analysis.

Channels

  • Advertising
  • Marketing
  • Content
  • Social
  • Commerce
  • Sales
  • Analytics
  • Management
  • Home

Our Events

  • MarTech
  • SMX

Resources

  • White Papers
  • Research
  • Webinars

About

  • About Us
  • Contact
  • Privacy
  • Marketing Opportunities
  • Staff

Follow Us

  • Facebook
  • Twitter
  • LinkedIn
  • Newsletters
  • RSS

© 2021 Third Door Media, Inc. All rights reserved.