* Cantinho Satkeys

Refresh History
  • j.s.: bom fim de semana  49E09B4F
    23 de Novembro de 2024, 21:01
  • j.s.: try65hytr a todos
    23 de Novembro de 2024, 21:01
  • FELISCUNHA: dgtgtr   49E09B4F  e bom fim de semana
    23 de Novembro de 2024, 12:27
  • JPratas: try65hytr A Todos  101yd91 k7y8j0
    22 de Novembro de 2024, 02:46
  • j.s.: try65hytr a todos  4tj97u<z 4tj97u<z
    21 de Novembro de 2024, 18:43
  • FELISCUNHA: dgtgtr  pessoal   49E09B4F
    20 de Novembro de 2024, 12:26
  • JPratas: try65hytr Pessoal  4tj97u<z classic k7y8j0
    19 de Novembro de 2024, 02:06
  • FELISCUNHA: ghyt74   49E09B4F  e bom fim de semana  4tj97u<z
    16 de Novembro de 2024, 11:11
  • j.s.: bom fim de semana  49E09B4F
    15 de Novembro de 2024, 17:29
  • j.s.: try65hytr a todos  4tj97u<z
    15 de Novembro de 2024, 17:29
  • FELISCUNHA: ghyt74  pessoal   49E09B4F
    15 de Novembro de 2024, 10:07
  • JPratas: try65hytr A Todos  4tj97u<z classic k7y8j0
    15 de Novembro de 2024, 03:53
  • FELISCUNHA: dgtgtr   49E09B4F
    12 de Novembro de 2024, 12:25
  • JPratas: try65hytr Pessoal  classic k7y8j0 yu7gh8
    12 de Novembro de 2024, 01:59
  • j.s.: try65hytr a todos  4tj97u<z
    11 de Novembro de 2024, 19:31
  • cereal killa: try65hytr pessoal  2dgh8i
    11 de Novembro de 2024, 18:16
  • FELISCUNHA: ghyt74   49E09B4F  e bom fim de semana  4tj97u<z
    09 de Novembro de 2024, 11:43
  • JPratas: try65hytr Pessoal  classic k7y8j0
    08 de Novembro de 2024, 01:42
  • j.s.: try65hytr a todos  49E09B4F
    07 de Novembro de 2024, 18:10
  • JPratas: dgtgtr Pessoal  49E09B4F k7y8j0
    06 de Novembro de 2024, 17:19

Autor Tópico: Programming Language With Llvm  (Lida 43 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Online mitsumi

  • Moderador Global
  • ***
  • Mensagens: 117428
  • Karma: +0/-0
Programming Language With Llvm
« em: 18 de Abril de 2023, 07:11 »

Programming Language With Llvm
Published 4/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.16 GB | Duration: 2h 46m

Practical approach to programming languages

What you'll learn
LLVM compiler infrastructure
LLVM frontend
Create own programming language with LLVM
OOP: Compiling classes
Functional programming: Lambda function and Closures
Branch instructions and control flow
LLVM IR
Code generation
Requirements
Basic C++ experience (required)
"Building an Interpreter from scratch" course (recommended)
"Building a Virtual Machine" course (optional)
Description
Course overviewHow programming languages work under the hood? What's the difference between compiler and interpreter? What is a virtual machine, and JIT-compiler? And what about the difference between functional and imperative programming?There are so many questions when it comes to implementing a programming language!The problem with "compiler classes" in school is such classes are usually presented as some "hardcore rocket science" which is only for advanced engineers.Moreover, classic compiler books start from the least significant topic, such as Lexical analysis, going straight down to the theoretical aspects of formal grammars. And by the time of implementing the first Tokenizer module, students simply lose an interest to the topic, not having a chance to actually start implementing a programing language itself. And all this is spread to a whole semester of messing with tokenizers and BNF grammars, without understanding an actual semantics of programming languages.I believe we should be able to build and understand a full programming language semantics, end-to-end, in 4-6 hours - with a content going straight to the point, showed in live coding sessions as pair-programming and described in a comprehensible way.In the Programming Language with LLVM class we focus on compiling our language to LLVM IR, and build a lower-level programming language. Working closely with the LLVM compiler infrastructure level you will understand how lower-level compilation and production-level languages, such as C++, Rust, etc work today.Implementing a programing language would also make your practical level in other programming languages more professional.PrerequisitesThere are three prerequisites for this class.The Programming Language with LLVM course is a natural extension for the previous classes - Building an Interpreter from scratch (aka Essentials of Interpretation), where we build also a full programming language, but at a higher, AST-level, and also Building a Virtual Machine. Unless you already have understanding of how programming languages work at this level, i.e. what eval, a closure, a scope chain, environments, and other constructs are - you have to take the interpreters class as a prerequisite.Also, going to lower (bitcode/IR) level where production languages live, we need to have basic C++ experience. This class however is not about C++, so we use just very basic (and transferrable) to other languages constructs.Who this class is for?This class is for any curious engineer, who would like to gain skills of building complex systems (and building a programming language is an advanced engineering task!), and obtain a transferable knowledge for building such systems.If you are interested specifically in LLVM, its compiler infrastructure, and how to build your own langauge, then this class is also for you.What is used for implementation?Since lower-level compilers are about performance, they are usually implemented in a low-level language such as C or C++. This is exactly what we use as well, however mainly basic features from C++, not distracting to C++ specifics. The code should be easily convertible and portable to any other language, e.g. to Rust or even higher-level languages such as Python. Using C++ also makes it easier implementing further JIT-compiler.Note: we want our students to actually follow, understand and implement every detail of the LLVM compiler themselves, instead of just copy-pasting from final solution. Even though the full source code for the language is presented in the video lectures, the code repository for the project contains /* Implement here */ assignments, which students have to solve.What's specific in this class?The main features of these lectures are:Concise and straight to the point. Each lecture is self-sufficient, concise, and describes information directly related to the topic, not distracting on unrelated materials or talks.Animated presentation combined with live-editing notes. This makes understanding of the topics easier, and shows how the object structures are connected. Static slides simply don't work for a complex content.Live coding session end-to-end with assignments. The full source code, starting from scratch, and up to the very end is presented in the video lecturesWhat is in the course?The course is divided into four parts, in total of 20 lectures, and many sub-topics in each lecture. Below is the table of contents and curriculum.Part 1: LLVM Basic constructsIn this part we describe compilation and interpretation pipeline, starting building our language. Topics of LLVM IR, object, compilation of the bitcode are discussed.Part 2: Functions and StackIn this part we implement control flow structures such as if expressions and while loops, talk about stack variables, nested blocks and local variables, and also compile functions.Part 3: Object-oriented programmingIn this part we implement OOP concepts, such as classes, instances, talk about heap allocation, and garbage collectors.Part 4: Higher-order functionsIn this part we focus on closures, functional programming, lambda functions, and implement the final executable.
Overview
Section 1: Part 1: LLVM Basic constructs
Lecture 1 Introduction to LLVM IR and tools
Lecture 2 LLVM program structure | Module
Lecture 3 Basic numbers | Main function
Lecture 4 Strings | Printf operator
Lecture 5 Parsing: S-expression to AST
Lecture 6 Symbols | Global variables
Lecture 7 Blocks | Environments
Section 2: Part 2: Functions and Stack
Lecture 8 Local variables | Stack allocation
Lecture 9 Binary expressions | Comparison operators
Lecture 10 Control flow: If expressions | While loops
Lecture 11 Function declarations | Call expression
Section 3: Part 3: Object-oriented programming
Lecture 12 Introduction to Classes | Struct types
Lecture 13 Compiling Classes
Lecture 14 Instances | Heap allocation
Lecture 15 Property access
Lecture 16 Class Inheritance | vTable
Lecture 17 Methods application
Section 4: Part 4: Higher-order functions
Lecture 18 Functors - callable objects
Lecture 19 Closures, Cells, and Lambda expressions
Lecture 20 Final executable | Next steps
Compiler engineers,Curious engineers interested in programming languages,Developers who want to build a programming language from scratch


Download link

rapidgator.net:
Citar
https://rapidgator.net/file/cac0cff71c96f978cb482acfe16aeb81/ykdka.Programming.Language.With.Llvm.part1.rar.html
https://rapidgator.net/file/18870666740e38c816f2665e27061f82/ykdka.Programming.Language.With.Llvm.part2.rar.html

uploadgig.com:
Citar
https://uploadgig.com/file/download/Fb9cE7e8c5bd25E0/ykdka.Programming.Language.With.Llvm.part1.rar
https://uploadgig.com/file/download/89975f108e2C7D3e/ykdka.Programming.Language.With.Llvm.part2.rar

nitroflare.com:
Citar
https://nitroflare.com/view/9A8CA6DB34A234B/ykdka.Programming.Language.With.Llvm.part1.rar
https://nitroflare.com/view/8C94A20096E880F/ykdka.Programming.Language.With.Llvm.part2.rar

1dl.net:
Citar
https://1dl.net/rztct8pi2fi8/ykdka.Programming.Language.With.Llvm.part1.rar
https://1dl.net/mp2wsk9gebnl/ykdka.Programming.Language.With.Llvm.part2.rar