Hacker News new | ask | show | jobs
by miohtama 2752 days ago
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.

2 comments

But it’s not very optimized. It’s very low level and you have to add defensive code, taking up space.
That is also totally insane.