Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kaifuny/llvm-tutorial-in-rust

LLVM tutorial in Rust language
https://github.com/kaifuny/llvm-tutorial-in-rust

cplusplus llvm llvm-tutorial rust

Last synced: 2 months ago
JSON representation

LLVM tutorial in Rust language

Awesome Lists containing this project

README

        

# LLVM Turorial (Based on Rust Language)

[Chinese](README.zh.md) [English](README.md)

## Motivation

* Recently learning Rust language, but don't know what to do, and may need to study LLVM IR related knowledge due to work reasons.
* [Official LLVM Tutorial Document](https://llvm.org/docs/tutorial/index.html), there are few Chinese translations
* MLIR is a sub-project of LLVM, is the infrastructure of the artificial intelligence field, and also needs to understand the basic knowledge of LLVM IR

## Reasonable Expectations

* As the cognitive level increases, the understanding of LLVM IR will gradually deepen, and it is **difficult** to guarantee the completeness and correctness of this document.
* This document is still written based on the [official LLVM Tutorial document](https://llvm.org/docs/tutorial/index.html), and will be written according to the outline of this tutorial, **supplemented and modified based on my own understanding and practical experience**.
* MLIR is not the focus of this document, and may be briefly introduced in some chapters.
* Although performance issues are an important indicator, the main focus here is on principle reproduction, and irrelevant abstract concepts are avoided as much as possible to avoid over-complication

## Development Environment

`TODO`

## References

See the reference section at the end of the document and the annotated links