DEVCON2: Dr. Greg Colvin's video commentary makes the Ethereum Virtual Machine scream!

DEVCON2: Dr. Greg Colvin's video commentary makes the Ethereum Virtual Machine scream!


Reporter: Lydia

Dr. Greg Colvin is a member of the ANSI/ISO C++ standards committee. At the meeting, he used pictures and sounds to vividly describe the technology that can make the Ethereum virtual machine scream.

This is how he explained the whole thing:

Here is a video where the Jeep sedan is moving very slowly.

I also don't want to make architectural changes to the machine, just take things out of the way that kill performance, if architectural changes require infinitely changing algorithms. Going from 256 bytes to 64 bytes will be faster.

It's comparable to the speed of the Dodge.

There are several methods:

Properly protect change

Small testable changes

No structural changes

Specific changes

Operation: From limited 256 bytes to 512 bytes

Gasoline computing: from 256 bytes to 64 bytes

Provides the necessary gas and memory for each operation

This is today's speed, it can't be faster at the loop level, there are still some number generators here, the Rc5 generator is not used much anymore, and needs constant values, pushing one at a time, so a loaded constant is created, which is only one byte.

To check whether go to is a valid address, use the loading time instead of the running time, and use jumpvi instead. RC5 does this very well.

There is a racing car here, and on the right is the interpreter. From here we need to do different things, and we need to make some improvements and challenges. We are currently using a 256-byte arithmetic library, a 56-byte library, and a 64-byte library for the GMP library to see if we can do better. If everything works properly, it should be enough. We will select some operation codes to make better use of the interpretation library. If it is 64 bytes, it can greatly improve performance. Now there are many programs in Silicon Valley that use SIMD. Now the EVM is a stack machine, and now we need to use a registered machine. We hope to have faster algorithms, so we can move from stack code to algorithm code. Now it may be a 256-byte register, and it also uses a single byte, so the code does not need to be too long.


<<:  The future economy will be written on the Bitcoin blockchain, and three key points are given

>>:  DEVCON2: Vitalik Burtin - 25 Minutes on Ethereum

Recommend

Short little finger personality

The length of fingers can also reflect a person&#...

What kind of moles are problematic?

As one of the traditional physiognomy techniques, ...

What does a mole on a woman’s back mean? Is it a good fate?

Different moles represent different meanings and ...

Power Miner gives the best gift for Children's Day, a mining machine

Event time : June 1, 2018 - June 7, 2018 Activity...

Big reversal! Spot ETF approval is possible, ETH surges 18%

The crypto market’s rebound came unexpectedly. On...

Does a man with high brow bones have a noble face and a good destiny?

Facial features are divided into two types: a fac...

The most afraid of his wife's face

The most afraid of his wife's face In fact, w...

Mole position and wealth - Which moles on the face will affect wealth

Financial luck is something that each of us is co...

How to build a value circulation network with blockchain

About the author: His real name is Chen Hao. He i...

The face of a man who is more reserved

In the past, "repressed and reserved" w...

Palmistry shows what kind of people are stingy and mean

We all know that palmistry can also indicate our ...

Post-Bitcoin Era: Electronic Currency Regulation on the Agenda

The U.S. Commodity Futures Trading Commission (CF...

Palmistry characteristics of male and female infertility

In ancient China, marriage was seen as a way to c...