Will the new Solidity language impact significantly EVM?

MarioFortierMarioFortier Boston, MAMember Posts: 30
Will the new primitive data type and function support require major changes to the VM specs? If yes, please let me know briefly about what to expect in PoC7.

Example: multiple stack/memory container of different types, new opcodes specific to int/u256/real, new call stack framing, or even may be... are you guys still considering llvm?

Thanks.

Comments

  • JasperJasper ✭✭✭ Eindhoven, the NetherlandsMember Posts: 514 ✭✭✭
    Probably what they will do there will affect their thinking about the EVM? But then, in-principle stuff-compiling-to-it and the EVM itself are separate things.

    ABI suggests using uint32/uint64 etcetera. .. Of course, things can be compiled to look like those things, but I do think uint64 calculations in-EVM would be simple to implement would be faster, not sure how fast the bigint operations for small numbers. The gas is currently also dealt with with a bigint, so doing uint64 operations wouldnt gain as much without changing that too. Of course it is critical that the gas counter does not overflow. So the gas limit in a single Tx would have to be smaller than 10^19(< 2^64), probably more than ever needed. Also, this increases the surface area for bugs a bit.
Sign In or Register to comment.