Introducing Life: A cross-platform WebAssembly VM for decentralized Apps written in Go

0
1613
2 min read

Perlin Networks, a scalable DAG-based distributed ledger protocol, introduced a new cross-platform WebAssembly VM named Life. This WebAssembly VM is secure, fast, written in Go and is built specifically for decentralized applications.

WebAssembly is a high-level instruction set which enables developers to easily design computationally heavy programs that can securely run on web browsers at an improved speed. Apart from designing programs for the browsers, this instruction set can also be used to train ML models, host databases, or even host blogs/online retail stores 24/7. This is the reason why Perlin networks used it in their project, Life.

Projects can easily run WebAssembly code anywhere by simply integrating the Life tool into their applications.

Features of Life

Life is Fast

It uses a wide range of optimization techniques and is faster than all other WebAssembly implementations tested (go-interpreter/wagon, paritytech/wasmi).


Life is Correct

It implements WebAssembly execution semantics and passes most of the official test suite.

Life is Secure

User code executed is fully sandboxed. A WebAssembly module’s access to resources (instruction cycles, memory usage) may easily be controlled to the very finest detail.

Life is Pure

This VM does not rely on any native dependencies, and may easily be cross-compiled for running WebAssembly modules on practically any platform such as Windows, Linux, Mac, Android, iOS, and so on.

Life is Practical

One can make full use of the minimal nature of WebAssembly to write code once and run anywhere. With Life, one can completely customize how WebAssembly module imports are resolved and integrated. A complete control over the execution lifecycle of the WebAssembly modules is also possible.

To know more about the WebAssembly based Life VM, visit its GitHub page.

Read Next

Grain: A new functional programming language that compiles to Webassembly

WebAssembly comes to Qt. Now you can deploy your next Qt app in browser

LEAVE A REPLY

Please enter your comment!
Please enter your name here