Questions tagged [wasm]

WebAssembly (wasm) is a web standard that defines a binary format and a corresponding assembly-like text format for executable code in Web pages. https://en.wikipedia.org/wiki/WebAssembly

Filter by
Sorted by
Tagged with
0
votes
1answer
232 views

Why will the new Ethereum 2.0 virtual machine run smart contracts compiled to WebAssembly instead of LLVM IR?

LLVM seems to be a compile target with more mature implementations around it, so I figured LLVM would be a better assembly for the next generation EVM to run natively compared to WebAssembly which is ...
2
votes
0answers
161 views

eWASM vs PWASM: Are they complete independent? If so, in what ways are they different?

Understanding that eWASM is more like EVM 2.0 by replacing EVM with a subset of WASM instructions set.. What is the motivation of the PWASM project from Parity? Notes: https://medium.com/paritytech/...
4
votes
1answer
266 views

“EVM becomes a sidechain” - Solidity

I recently came across a comment from Vitalik Buterin on reddit where he said that the EVM will eventually either become a sidechain or a contract written in EWASM. The comment can be found here ...
3
votes
1answer
269 views

How to start writing a smart contract in eWASM?

There are many tools and repositories under https://github.com/ewasm What are the main steps to writing a smart contract in eWASM? What are the main components involved?
12
votes
1answer
3k views

What is eWASM and why is it the direction for the next version of the EVM?

eWASM was first proposed in EIP 48 with performance advantages over the EVM. Are there other advantages since the EIP was written in 2015? The initial benchmarks are also gone and are there any ...
4
votes
1answer
470 views

Why is the Ethereum Virtual Machine designed as a stack based language?

I heard that Ethereum is about to change into a flavor of Web Assembly (a register-based language, eWASM). Web Assembly is register-based, which means they are faster. So why is Ethereum using a ...