Giter Club home page Giter Club logo

jvm's Introduction

自己动手写 JVM

项目规范

  1. 项目结构规范遵循 golang-standards/project-layout
  2. 日志输出统一使用 logrus

实现计划

  • 确定项目结构
  • 命令行参数解析
  • 实现类路径,获取指定类的 class 字节流
  • 实现 class 字节流的解析
  • 实现线程私有运行时数据区
  • 实现解释器及部分JVM指令
  • 实现类加载器、方法区、部分引用类类指令
  • 实现方法调用和返回指令
  • 实现数组相关指令和字符串池
  • 实现本地方法,如 Objec.hashCode()
  • 实现 athrow 指令进行异常处理
  • 实现 System.out.println(),并成功输出 Hello world!

下载

go get github.com/c-rainstorm/jvm

协议声明

MIT

参考

jvm's People

Contributors

c-rainstorm 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.