Earlier quoted context omitted.
Agreed, though what's really fucked up is the native Ethereum language and machine. Almost anything is an improvement on that. I still don't know what to use any of that for though. :-/ Edit: yes I mean Solidity. I mean, it's cool that it works, but look at it, it's insane. They could have picked just about any language, including assembler, Lisp, Lua, Javascript, Visual Basic, LLVM bytecode, whatever and would have…
An EVM smart contract bytecode is usually 2kB - 4kB. You can think it as DSL optimised for its use case. EOS contracts are 250kB because they suck in C++ stdlib, templates or what not. There are benefits of having compact bytecode performance wise: cache pressure, price of on-chain storage and so on.
Blockchain-Flavored WASI
41–42 of 42 posts
Re: Blockchain-Flavored WASI
#42Earlier quoted context omitted.
Agreed, though what's really fucked up is the native Ethereum language and machine. Almost anything is an improvement on that. I still don't know what to use any of that for though. :-/ Edit: yes I mean Solidity. I mean, it's cool that it works, but look at it, it's insane. They could have picked just about any language, including assembler, Lisp, Lua, Javascript, Visual Basic, LLVM bytecode, whatever and would have…
An EVM smart contract bytecode is usually 2kB - 4kB. You can think it as DSL optimised for its use case. EOS contracts are 250kB because they suck in C++ stdlib, templates or what not. There are benefits of having compact bytecode performance wise: cache pressure, price of on-chain storage and so on.