Code Monkey home page Code Monkey logo

zevm's Introduction

Zig Ethereum Virtual Machine

zEVM is an implementation of the Ethereum virtual machine (EVM) written entirely in Zig. This implementation is heavily inspired by the work from Revolutionary EVM (rEVM), written in Rust and highly optimized. The EVM runs interpreted bytecode on every Ethereum node, and is arguably the most critical component of the system's consensus.

zEVM builds on the principles of zig's blazing fast performance and simplicity, aiming to be as memory efficient as possible thanks to Zig's focus on having developers carefully manage memory and with runtime safety checks for memory usage and arithmetic operations.

zEVM will aim to be the most memory efficient and fastest EVM implementation.

Rust bindings will be provided for zEVM.

Installing

Built with Zig version 0.11.0-dev.2469+aa45854ec

git clone https://github.com/rauljordan/zevm && cd zevm
zig run src/main.zig

TODOs

  • Arithmetic opcodes
  • Stack manipulation opcodes
  • Control flow opcodes
  • Host defined
  • Host opcodes
  • Passing spec tests
  • Benchmarks
  • Rust bindings

zevm's People

Contributors

rauljordan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.