Git Product home page Git Product logo

csjvm's Introduction

csjvm

使用C#写的简单JVM

介绍

项目中未使用到第三方库,.NET版本为:4.6.1

类解析参照java8:https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html

使用说明

  1. 克隆下来本项目git clone https://github.com/ysdxz207/csjvm.git
  2. 使用Visual Studio 2019或Jetbrains Rider打开本项目运行

实现目标

    • 解析classpath

      • 解析boot classpath
      • 解析ext classpath
      • 解析user classpath
    • 解析class

      • 魔数及校验
      • 次版本号,主版本号校验
      • 解析常量池
      • 解析类访问修饰符
      • 解析当前类
      • 解析父类
      • 解析包含的接口数组
      • 解析包含的字段数组
      • 解析包含的方法数组
      • 解析包含的属性数组
    • 加载运行

csjvm's People

Contributors

ysdxz207 avatar

Watchers

James Cloos avatar  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.