Ir al contenido principal

Entradas

Mostrando las entradas de septiembre, 2020

Ruby and the Interpreter Pattern

 In a way reading this text means to me a lot of responsibility, somehow I image that if I didn't understand anything was because I was not really paying attention to the class, or even if I didn't understand the meaning of all of this text the understanding of the next class will be limited. Just pint where am I in this topics, I got to known ruby when I was just beginning to look into the iOS developer dependencies where all of the Cocoa pods were written in Ruby. This one is the inly approach that I have gotten until know, but I have already heard from some classmates that we see this language in Software Architecture. First the reading mention the S-Expressions (SIF), a topic that I got the chance to understand it in the last semester maybe not as deep as in other semesters because of the migration to zoom classes where we lose like three weeks.  But the things I remember the most is the importance of their order in order to have the compiler working perfectly. And just as

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

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