|
|
|
|
|
by pori
3744 days ago
|
|
As a web developer, LLVM has always been a mystery to me. I have a basic understanding of computer science, but that has never been enough to parse through the documentation, written for those more used to lower level development. This is a wonderful article for absolute beginners, showing quite literally what LLVM does and how to use it. |
|
I would suggest sticking to a simple language, rather than trying to build a C compiler or something. The principles are what you really ought to learn, and those are the same. Even just writing a brainfuck interpreter is a good exercise if you don't know how to do it. (Despite the profane name and its implication that it ought to be something very complicated, brainfuck is actually very simple. Some people use "write a brainfuck interpreter" as their test project whenever they pick up a new language.)
Compilers and interpreters are one of the things that make the difference between a "code monkey" and a "software engineer", and even in web development they can be incredibly useful.