After listening to the Software engineering podcast about the internals of GCC, I found myself in great pleasure of knowing that what I was learning in my compilers course, was good and effective. One of my gripes with the interview is that it wasn't that clear with the host being a little bit pushy about certain aspects. I feel that if you are the lead engineer in a part of GCC you should get some de-facto respect just for being you.
The description for the episode is as follows:
This show takes a behind-the-scenes look at compilers and their inner workings, using the Gnu compiler collection (GCC) as an example. Arno interview Morgan Deters, covering all steps from the parsing of different programming languages to machine independent optimizations and generating processor specific binary code.
I loved how Morgan Deters expressed himself, it was quite clear, and really expressfull.
One of my biggest revelations was that thre was a relationship with what GCC engineers were doing, to my Compiler’s course. Sometimes when I’m in school, it feels like you are just a part of a “little delve” into architecture and creation of a programming language, but what I found is that actually, we are way way way more ingrained into designing a compiler than I thought.
For example:
We saw the construction of an AST, and GCC uses AST to build and construct the compilation of ADA, C, C++ etc.
This always leaves me wondering how many of us will actually build a compiler eventually. I’d be super interesting to see what we can build with this tools.
What about you dear reader? If you had the chance and the tools to build a compiler, what would you create? Would you create a beautiful language? Static or dynamicly typed? What are the goals you want to achieve?