Ir al contenido principal

Making Compiler Design Relevant for Students who will (Most Likely) Never Design a Compiler


 After having my time with the reading I got the opportunity to answer some of their questions I did to myself when I heard of this subject. First it was the doubt of How many compilers I will have to make in my future life?, now I know that the maybe I will never have to do another compiler, but that I have to pay more attention into the problems and learn about the solution in a more modular way. Looking for the problems like this even outside the subject is a very good philosophy for any life. You are basically just taking all of the huge problems and solving them in small parts just as the programming advices always tells you.

One of the examples that remberme something is the translator of Latex into html because somehow remembers me the tool web of symbolab, when I need to make some math notes or I have math homework I use symbolab tool as GUI for making my matrix and just having to Ctr+c in order to get the Latex commands and export them to my document.

From the text I will remember the phases for making a compiler that are:

  • Lexical Analysis
  • Semantic Analysis
  • Code generation
  • Code optimization
These on are pretty good explained an in a way these seems a little bit easy but at the end some implementations are one that may have their complexity when I get the chance to implement them, From these phases the one that I always have issues is the Code optimization because the optimization I thinks is so relative and in some times this part always become so  competitive between the team.

This reading gave me the chance to see all of the things i can still learn or to improve, It still is going to be a challenge but also help me see why we can take this subject as a las subject exam but create a new doubt about how is going to be the legendary final exam.

Comentarios

Entradas más populares de este blog

Lin Clark on WebAssembly

 I think is pretty good to have the web topic around another blog activity and well combined i think because the last semester I got the chance of talking the computational graphics subject and is was all focus on web development for 3d rendering and was very important because it's been a while since the browsers have access to the graphics card and indeed this been my first approach to the technology is as Lin mention where we have the structure as HTML,  design CSS and Javascript for the functionality. It was surprising  for me to see that this was first designed for PC because of the way we use JavaScript for games in the web and is an language that born just to be easy to understand leaving just a side the optimization. From the podcast i understand the benefits of the binary instructions provided by Web Assembly; It's design made for the portability and with targets of high level languages have the functionality of the deployment o client or server client.  When...

The Hundred-Year Language

 Somehow this remember me a chapter of the Arrow series where the son of green arrow "William" talks in the future about the old program files but still mention techniques as recursive algorithms, In my own opinion there will be a lot of upgrades maybe in the way we manage memory or maybe how we will run things in parallel, Today we can't imagine to work in parallel using the same space of energy, but maybe in the future there would be some awesome threads that can talk between each other and manage a memory space together, We I got the chance to be in the IBM hackaton's, I got just a few understanding of how the quantum computation works an they were talking about the use of python but not as a common programmatic skills , there were talking about connections and the need of knowing quantum physics. I am sure there are a lot of things that will surprise us in our future and for sure there will also be tons of challenges. In my imagination I can picture some problems ...

Building Server-Side Web Language Processors

 I was very happy that this article also was from our professor, even do web have nerve been y favorite in the article we have a new approach of the compiler design class with the web overview. I fell part of the article when the author mention all of the activities that we are making but got also get a little bit disappointed where I read that there activities are not enough to have a the topic fully acknowledge. After having this in the field, the author brings a web approach and mentions the real fact of letting all of the students choose their own path and explain the possibility that most of the wont became web developer but those that choose a web developer path will be huge benefit from this methodology. Having the level of communication that the compiler brings to the tables is very useful because in a way you will have to create rules and apis until we get the structure needed. looking thru all this web technologies that are so modular, will be pretty beneficial to anyone ...