Ir al contenido principal

Internals of GCC

 After listening to the podcast i got a whole new vision to the "layers" and the importance into understanding the benefits that you can get from looking into every layer, and for that every day there is  a lot of effort from all the compiler developer in order to improve this functionalities.

Now we can actually threw all of the stages in which the source code that is written by the programmers into the target code that understands the computer and can execute it. First the lexical analysis we are going to check all of the characters stream into a token stream, that basically means looking for all of this reserved word or variables that will be used justa as "and, or, do".

The second stage is the is where we introduce the abstract syntax tree in order to see the order in which the operations are going to be compute.The third phase is going to be a check to see if the variables were declared in the previous version. And Finally the code generation  that can be easy explained to be the translation from a higher order language into a lower.

Finally just to mention a few things of the GCC some of their advantage like the flexibility and the portability because this compiler  works in linux, MacOS and even Windows can get the distribution. Also this compiler can read source files inputs like ADA, Fortran C++ and so much others. In my own opinion this is pretty good because even the non experts in compiler design can get a very good comprehension of the activities that the gcc compiler is making. All of the phases explained here will help see my project in a so much easy way ando will make see all of the derivables more clear from now on,


Comentarios

Entradas más populares de este blog

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 ...

Mother of compilers

 The story of Grace Hopper described in the article and in the video emphasizes something obvious but which is uncomfortable to highlight, this is the fact that women's achievements have been overshadowed and although they exist, they have been less due to the different historical trajectory that men and women have had and because of the late incorporation of women to many professional activities and even issues that reach the legal framework designed by men that historically exclude women. It is for this reason that the story of "The Queen of Code" is inspiring and stands out the important role of women in technology,  It is very devastating to see how talented people in this case Grace Hopper, was so underestimated and held back in her attempt to bring knowledge to humanity, simply because she was a woman. Despite that, she became the mother of Cobol, becoming an expert in an area that was unknown back then, with the proposal of Cobol becoming the universal language.  S...