As of May 31, 2023, we have updated our Code of Conduct.

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
13 votes
2 answers
4k 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 ...
eth's user avatar
  • 83.3k
4 votes
1 answer
406 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 ...
Chris's user avatar
  • 1,252
4 votes
1 answer
1k 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 ...
Ho Now Nahc's user avatar
4 votes
1 answer
402 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?
eth's user avatar
  • 83.3k
2 votes
0 answers
271 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/...
noooooooob's user avatar
1 vote
1 answer
61 views

using Wasm can avoid Hard fork?

Is it possible if we use wasm in blockchain can we avoid hard fork, If it's possible how does it work? I read in parity ethereum whitepaper.
naga's user avatar
  • 125
1 vote
0 answers
219 views

When will the 64bit eWasm EVM be launched?

Now with the eth2.0 delay, I can't find out when eWASM will be fully adopted. For some strange reason, the single most important question about eWASM is missing from their FAQ and this change doesn't ...
rook's user avatar
  • 121
0 votes
1 answer
325 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 ...
AjaxLeung's user avatar
  • 103
0 votes
0 answers
62 views

Is it possible to convert WASM bytecode to EVM bytecode?

I have contract written in ink! (Rust), it can be compiled to wasm bytecode. My question is, can I convert this bytecode to EVM bytecode?
Lev Lymarenko's user avatar