소개
Rust로 인터프리터 작성하기: 가이드
프로그래밍 언어 및 런타임측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalWriting Interpreters in Rust: a Guide
This is an online book covering the lower level topics involved in writing an interpreter in Rust including:
- memory management: allocation and garbage collection
- compiling: expressions, functions, closures
- virtual machines: bytecode, instruction dispatch
Project vision
From CPython to Ruby's YARV, V8 and SpiderMonkey, GHC to the JVM, most language runtimes are written in C/C++.
We believe that Rust is eminently suitable for implementing languages and can provide significant productivity improvements over C and C++ while retaining the performance advantages and low level control of both.
While there are a number of languages implemented in Rust available now, in varying states of completeness - interpreters, AOT compilers and JIT-compiled - our vision is singular:
To create a well documented reference compiler and runtime, permissively licensed, such that you can fork and morph it into your own programming language.
That is, a platform for bootstrapping other languages, written in Rust. To that end, the implementation provided here is not intended to be feature complete and cannot possibly represent every variation of programming language or local optimization.
It is a lofty goal, and it certainly won't be the right approach for everybody. However, we hope it will help shift the landscape in favor of more memory-safe language implementations.
Getting involved
See CONTRIBUTING.md for licensing and how to get involved.
The contents
The rendered book can be read here while the accompanying source code can be browsed in this repository.
관련 프로젝트 살펴보기
불러오는 중…