Posts

Showing posts from February, 2018

Chapter 4: This time it is Grace Bewster Murray Hopper´s time to shine

Renowned for being responsible for the development of the Cobol language and making computers and computing more accessible. One of the obstacles she overcame was the overall way people differentiated woman´s and man´s jobs. She had a really amusing background, interested in engineering since the beginning, doing well in mathematics and geometry at school, and studying math, physics and engineering in Vassar College. She also joined the US Naval Reserve during second world war, where she was assigned to the Bureau of Ships Computation project at Harvard. That was her beginning in everything she did surrounding computation; she learned subroutines, Babbage and she actually invented the term “Bug” (this originated thanks to a moth inside the Mark I, leading to incorrect results). She later developed BINAC, a small binary machine that was built in secret for the Snark Missile project, using octal representation. Then Hopper made a huge step towards a higher-level language, writi...

Chapter 3: GCC Anatomy

When writing code, people don´t usually bother to think about the compiler or whatever lies inside, but instead just codes. However, everything that happens inside a compiler (for example, GCC) is interesting. Conformed of three main parts (which are Front End, Middle End, and Back End) the compiler aims towards performance thanks to everything that those parts make. The Front End, which is language specific, outputs to the front end, which is considered like a “neutral” zone, and finally the Back End works to produce specific architecture code. Morgan Deters explains us the portability of GCC in the podcast; is one of the most widely used, for example, on Windows or Mac OS. It accepts many languages, such as C, C++, Java, Fortran, etc. The main output from the compiler is an object code for the aimed platform. The compiler works with a simple input, a plain text, and the compiler has to understand what the plain text has and what everything inside it means, usually by parsing...