Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 01 2018 13:34
    @lrettig banned @matrixbot
Alex Beregszaszi
@axic
Oh nice!
@AchalaSB the 80 came from the haswell specs and not third party sources (it should be linked in the markdown)
cdetrio
@cdetrio
@AchalaSB here's a place where it says 80 for DIV:
Screen Shot 2019-12-19 at 10.59.27 AM.png
oops I meant this one
Screen Shot 2019-12-19 at 11.01.16 AM.png
Paweł Bylica
@chfast
We still should be taking the upper bound (95) in this case.
Alex Beregszaszi
@axic
There was a different kind of spec with a fixed 80 cycle count, but can’t seem to find it. It wasn’t a spreadsheet.
Greg Colvin
@gcolvin
I wish we had some notion of how far off we can be and not get DoSed. If the code is interpreted these numbers will get drowned to some extent by the interpreter overhead, and if it is compiled the compiler itself and the tricks CPUs play will make cycle-counting only a guess. And the counting itself can be a significant overhead that will depend on how smart the injection is and how well the compiler can optimize it.
Achala Bhatt
@AchalaSB
Thanks
@axic can you share the document/spreadsheet you are referring to?
@jakelang you might know the reference book for CPU cycle, as you have commited for eWASM gas cost table.
https://github.com/ewasm/design/blob/mkdocs/docs/determining_wasm_gas_costs.md
Alex Beregszaszi
@axic

This is the original source of the document: https://gist.github.com/axic/5bf506728005864461454dd4d37a7f37

And it refers to “Appendix C” of https://software.intel.com/sites/default/files/managed/9e/bc/64-ia-32-architectures-optimization-manual.pdf of which @cetrio copy pasted.

Anyway, I wrote it over 3 years so don’t remember where the 80 came from.

Alex Beregszaszi
@axic
It likely seems to be a simplification of that spreadsheet.
mishaaaa
@mishaaaa
Hi all, Is it possible to write smart contracts in any language (like c,c++,rust,assemblyscrip)t using webassembly concept in ewasm. If yes it would be great if someone can share some links which can be used to do a quick POC on the same. Thanks in advance. :)
Jacques Wagener
@jacqueswww
And search for wrc20 for more examples
Achala Bhatt
@AchalaSB
Hi, what is cost consumed for const in ewasm?
(or ex: if there is any equation like 1 + ( x/100) ) What is the cost for 1 and 100 ?
And what is the cost for keccak256 ?
Ajoy Das
@ajoydas
Where can I find Hera benchmarking results or is there any way to run evmone benchmark tests with Hera?
Paweł Bylica
@chfast

@ajoydas Hera wraps 3 different wasm engines. These engines and others were benchmarked by @cdetrio and others. I would need to dig up some slides presenting results. But running evmone benchmark suite in Hera is not directly possible, because these are EVM bytecodes, not wasm.

For EVM benchmarking results see https://github.com/ewasm/benchmarking/.

Ajoy Das
@ajoydas
@chfast thanks for the reply. It would be helpful if you can share the slides.
So, if we need to compare the performances between ewasm and evm, what is the correct way?
Will compiling benchmarking solidity contracts both in ewasm byte code and evm byte code and then taking the performance statistics be a proper way?
mishaaaa
@mishaaaa
Hello guys, I was trying out the project https://github.com/second-state/soll and was able to connect the metamask to ewasm testnetwork (http://www.ewasm.ethereum.org:8545). I was not able to provide fund to the account using faucet (http://ewasm.ethereum.org/explorer/faucet#transaction). Its showing me an error of "privateKey not set in config file" . It would be great if anyone can suggest me how to solve the error or any other way to get some fund in the account.
Jacques Wagener
@jacqueswww
ewasm testnet is dead
Travis Rivera
@ResourceHog
Hi@!
SherlockHolmes2020
@SherlockHolmes2020
Hi
mishaaaa
@mishaaaa
Hi @jacqueswww , Thanks for the information. Is there any alternative solutions or testnetwork for the same.
Jacques Wagener
@jacqueswww
Probably could try and fire up your own local testnet
desmond56
@Desmond56
how to use C++ write a wasm contract and send to ewasm testnet

how to use C++ write a wasm contract and send to ewasm testnet

or other languages

Ameen Soleimani
@ameensol
Hi
Who is the best point of contact for the eWasm effort?
I'm trying to get a sense of the goals, timeline, and players involved
eBytes
@zlandme
hi
sxysun
@sxysun
Hey guys, I see that eWasm did not specify the memory layout for the EWasm Contract Interface, are those customary to each client?
Jared Wasinger
@jwasinger
@mishaaaa @jacqueswww the ewasm testnet is no longer operational. However, you can run geth (augmented to support ewasm) locally:
https://github.com/jwasinger/ewasm-dev-env
@sxysun there is no standard contract ABI format for ewasm contracts. This is something that would be handled at a higher level (Solidity in EVM) and not in the VM/environment spec.
sxysun
@sxysun
@jwasinger thanks!, makes sense, I guess what I meant was that the memory layout is custom to each compiler not client
what about metering in current ewasm, I saw that the project (https://github.com/ewasm/wasm-metering) referred by ewasm design doc is ORPHANED, so currently if I want to deploy a contract how should I check the gas features in
sxysun
@sxysun
Hi everyone, is the gas metering injector (https://github.com/ewasm/sentinel-rs) stage done on the compiler level, or does miners do them when they receive compiled binaries?
Jacques Wagener
@jacqueswww
Miners / Nodes
sxysun
@sxysun
I see, thanks pal!
sxysun
@sxysun
Hi guys, is there any example contracts or documentations on how eWasm deals with constructors?
Jared Wasinger
@jwasinger
Contract creation txns work the same as eth1
Neville Grech
@nevillegrech
Hi Guys, I've read in a few places that eWasm should increase the tx throughput of Ethereum. Why is this the case? Does eWasm have any impact on the speed of the Ethereum state trie?
realisation
@realisation
how do I call nameof in assemblyscript? my program is refusing to compile when I invoke it, and I can't find any docs that tell me how to invoke it. Just that it exists...
bobo
@gongbell_gitlab
Hi,I want to know if there is any usable compiler to compile solidity to EWASM (i.e., from ETH 1.0 solidity contracts to wasm contracts)? Or if there is any transcompiler usable to compile evm bytecode to ewasm bytecode directly?
It seems the soll compiler still cannot support several key features of solidity. And the evm2wasm project is depreciated. Thanks.
Paweł Bylica
@chfast
@gongbell_gitlab The solc compiler itself has probably the best support for ewasm, but still experimental.
bobo
@gongbell_gitlab
I will try solc first. Thanks a lot, Bylica! @chfast