Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon

Introducing WAPM, a Package Manager for WebAssembly

Save for later
  • 2 min read
  • 24 Apr 2019

article-image

Yesterday, Syrus Akbary, the Founder and CEO of Wasmer, announced the release of WebAssembly Package Manager (WAPM). This package manager is introduced to make it easier for developers to use WebAssembly anywhere.

Why WAPM is being introduced?


With this package manager, the Wasmer team aims to improve the developer ergonomics of WebAssembly. Explaining the advantages of WAPM, Akbary said, “WebAssembly is an abstraction on top of chipset instructions, this enables wasm modules to run very easily on any machine. If we move this abstraction up we can unlock the potential of having universal binaries that can run anywhere, even on platforms/chipsets not supported at the moment of releasing the binary.

We already have Node.js Package Manager (NPM) that hosts WebAssembly modules. However, the team believes that WebAssembly on the server-side is a different use case and hence deserves a package manager specifically designed for it.

What are its advantages?


Following are the advantages that WAPM comes brings in:

  • Allows developers to easily publish, download, and use WebAssembly modules.
  • Allows developers to easily define commands on top of Wasm.
  • Unlock access to the largest independent learning library in Tech for FREE!
    Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
    Renews at €18.99/month. Cancel anytime
  • Enables developers to create universal libraries in WebAssembly that can be used from all languages including Python, PHP, JavaScript, Rust, C, and C++.
  • Enables support for different ABIs (Application Binary Interface) such as WASI, Emscripten, or even new ones in the future.


This release comes with a ‘wapm’ command-line application and a website and package registry: wapm.io.

Here’s a video demonstrating how WAPM works:

https://www.youtube.com/watch?v=qDRcHIBFu0c

After seeing the governance issues with NPM, many developers are skeptical about another private community package manager “I've grown uncomfortable with NPM being operated by NPM Inc instead of The Node.js Foundation, but it's a hard thing to change once it's established. We should hesitate to support the establishment of another community package manager by a for-profit company,” a Redditor said.

To know more in detail, check out the official announcement.

Mozilla introduces Pyodide, a Python data science stack compiled to WebAssembly

Fastly open sources Lucet, a native WebAssembly compiler and runtime

How you can replace a hot path in JavaScript with WebAssembly