4 ms·
Something like this for compilers would be amazing. There's a lot of folklore knowledge around compilers and programming language implementation that isn't easy
by hardwaregeek 4y ago
Something like this for compilers would be amazing. There's a lot of folklore knowledge around compilers and programming language implementation that isn't easy to learn on your own. A hands-on implementation based course would make it a lot more accessible.
- sarupbanskota 4y agoIt's on the cards! And a course on grep drops next week. https://app.codecrafters.io/courses/grep/overview https://app.codecrafters.io/courses/grep/overview
- zasdffaa 4y agoDepending what you mean, but simple compilers are very straightforward. The output might make you want to cry, but they're still compilers. There's less magic than you think. There are also lots of books out there about writing them. Correction: there is no magic in compilers. Like Elixa, when you understand them they become totally mundane.
- zasdffaa 4y agoWould those who downvoted me care to mention what upset them so about "simple compilers are very straightforward" and where I was wrong saying compilers are comprehensible things, not etheric miracles beyond the ken of us bipedal apes.
- cloogshicer 4y agoRead 'Crafting Interpreters' by Bob Nystrom (free online). It teaches step by step how to write a compiler/interpreter, very approachable without dumbing down.
- sarupbanskota 4y agoGreat book. A lot of our customers mention it, in addition to (unrelated) Designing Data-Intensive Applications. There's also http://aosabook.org/en/index.html http://aosabook.org/en/index.html
- hardwaregeek 4y agoI’m quite familiar! It still only scratches the surface. I’d love courses on type checking, incremental compilation, concrete syntax trees, query based compilation, optimization, register allocation, multithreaded garbage collection, LLVM, etc. There’s so many topics and so little high quality instruction out there.