Project Setup & Simple Just in Time (JIT) Compilation Example - Compiler Programming Ep1

preview_player
Показать описание
First episode in the series on developing a programming language in C.
I showcase my development setup, highlight useful tools (linked below) and give a basic example of creating executable code at runtime.

#coding #compiler #programming
Рекомендации по теме
Комментарии
Автор

Really like how you’ve found the right balance to keep the first episode simple but yet hooking.

peteraleonov
Автор

This was really informative. I didn't know you could literally write machine code bytes into a chunk of memory and then jump to it. Seems obvious now, thanks to your very simple explanation! <3

TimMorgan
Автор

I’m beginner programmer ( one year experience) and learning data structure and algorithms now. I know a bit of c. Can I start learning about compiler with this series or should I study more before starting?

hugocosta
Автор

I was looking for copper, and found gold.

xKaihatsu
Автор

From what I understand, you said you would skip the lexer and the parser and generate machine code straight from the code itself, but it is not clear to me why. Don't all compilers and interpreters need an AST to generate machine code? If not the AST, at least the tokens from the lexer?

Now it is not clear if ASTs are a necessary part of code execution or if ASTs are mostly used for language analysis and transformation, similar to what TypeScript does to generate JavaScript

andrerenajf
Автор

Hey,
This seems very interesting. I just hope the next lessons you got a better mic :D

antoniocs
Автор

So.. how did you manage to get msdn pages with black theme? The white is burning my eyes!!

antoniocs
Автор

I am starting out on compilers, can we have the same setup on Linux

MrAR
Автор

You should probably have recorded in a lower resolution

andrerenajf
visit shbcf.ru