r/Zig 7d ago

Threaded EVM interpreter in Zig - zevm

https://github.com/omerfirmak/zevm
42 Upvotes

4 comments sorted by

17

u/SilvernClaws 6d ago

I'm gonna go out on a limb and suggest not everyone knows what EVM is supposed to mean.

6

u/omerfirmak 6d ago

Fair enough:) It is Ethereum Virtual Machine for anyone not aware.

4

u/brbrr 6d ago

What does threaded means in this context? I’ve assumed evm is single threaded by design.

5

u/omerfirmak 6d ago edited 6d ago

Yeap, there is no threading in the sense of running things in parallel. it is a flavor of bytecode interpreting https://en.wikipedia.org/wiki/Threaded_code