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

Do women with moles on their foreheads have a miserable life?

In fact, a person's moles can often affect or...

1 million computers at risk of being infected with Wannamine mining virus

Cybereason, a network startup, recently said that...

How to welcome the launch of Filecoin?

Let me briefly explain my point of view. We go on...

What if stolen Bitcoins can be recovered?

Original source: Tokenview Original title: How to...

Analysis: Are people with long and sparse eyelashes kind-hearted?

Appearance can be beautiful or ugly, and the huma...

What does Tianliang Huake mean in the spouse palace?

Tianliang Star, belonging to Yang Earth, is the s...

Bitcoin prices rose again in the Asian session, continuing the surge

Bitcoin prices rose again in the Asian session on...

What kind of face is good for fortune-telling women?

In life, everyone hopes to have a good appearance...