У нас вы можете посмотреть бесплатно Compilers in Rust: Cranelift, the All-Rust Codegen Alternative to LLVM (No C/C++, Part 1) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this video, we explore Cranelift, a code generator built entirely in Rust. We begin by explaining what Cranelift is and why LLVM may not always be the optimal choice for compiler engineering. We then dive into Cranelift’s intermediate representation (IR), highlighting its use of types, static single assignment (SSA), and control flow graphs (CFGs). Next, we demonstrate a Rust-to-Cranelift IR workflow using `rustc`, followed by a high-level overview of the Cranelift code generation pipeline. Through a demo, we show how to visualize and interact with the Cranelift pipeline, using Cranelift’s testing framework (`clif-util`) and filetests. As a bonus, we demonstrate how to visualize control flow graphs in Cranelift IR, simplifying complex analysis tasks. Finally, we conclude with a summary of how Cranelift’s all-Rust toolchain provides a clean, powerful alternative for code generation—without the need for C or C++. 00:00:00 What is Cranelift? 00:06:38 Why NOT LLVM (my opinion)? 00:08:40 Why Compiler Engineering? 00:10:00 Cranelift's IR (uses types, SSA, CFGs) 00:17:25 An example Rust to Cranelift IR workflow using rustc 00:27:24 A high level overview Cranelift's codegen pipeline 00:30:21 How can we visualize and work with the Cranelift pipeline? 00:33:10 Working with Cranelift's Testing framework: clif-util and filetests 00:36:30 Demo walkthrough: Statically analysing a filetest 00:43:10 Analysing an entire compilation pipeline (for a simple test) 00:49:55 Bonus - visualizing Cranelift IR control flow graphs 00:52:18 Wrap up and Summary #compiler #rust #engineering #llvm #code #codegeneration Notes git gist: https://gist.github.com/nihalpasham/1... Cranelift link: https://cranelift.dev/