Code Monkey home page Code Monkey logo

rvcc's Introduction

rvcc

本课程基于Rui的chibicc,@sunshaoce和@ksco将其由原来的X86架构改写为RISC-V 64架构,同时加入了大量的中文注释,并且配有316节对应于每一个commit的课程,帮助读者可以层层推进、逐步深入的学习编译器的构造。

rvcc课程资料

课程用到的资料(环境构建,Q&A等)都在rvcc-course

如需发起Issue或者PR,或者是其他问题,也请访问:https://github.com/sunshaoce/rvcc-course

构建

项目的构建命令为:make

(可选)项目使用CMake的构建命令为:

cmake -Bbuild .
cd build/
make

RISC-V介绍

RISC-V是一个开源的精简指令集,相较于常见的X86、ARM架构,其简单易学,并且发展迅猛。现在已经出现了支持RISC-V的各类设备,未来还将出现RISC-V架构的笔记本电脑,可谓是前景一片光明。

chibicc

chibicc是Rui开发的一个X86架构的迷你编译器。Rui同时也是8cc、9cc、mold、lld等著名项目的主要开发者,chibicc是他最新的编译器项目。chibicc项目以commit为阶段,借助于316个commits实现了一个能够编译Git等项目的C编译器,同时层层深入的课程,也大大降低了难度,帮助更多人来上手chibicc。

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.