jueves, 22 de septiembre de 2016

Mother of Compilers

Grace Hopper. (2016). S-media-cache-ak0.pinimg.com. Retrieved 22 September 2016, from https://s-media-cache-ak0.pinimg.com/236x/3e/c1/4b/3ec14b7411cc9c9d395e236223ac595f.jpg



In this new blog post I will talk about Grace Hopper, the Queen of Code. Although Ada Lovelace is often consider the first programmer in history, Grace is part of an important group of IT women who changed the world completely.

Both the article Grace Hopper - The Mother of Cobol and the video documentary The Queen Of Code (directed by Gillian Jacobs) tell us how she started in the world of computer science and all their contributions to this science. The Grace Hopper case is not fortuitous, since a very early age she began to show curiosity about technology, so that led her to study mathematics and physics at Vassar College in New York.

It should be kept in mind that it was not common at that time that women were developed in fields of study where men predominated. However, with the onset of World War II many opportunities for women were opened and they began to be more involved in different areas, where important discoveries and progress were made.

With a PhD in mathematics from Yale University it was evident that Grace was more than qualified not only to teach, but also to assist her country in its wartime challenges; thus, she decided to join to armed forces where after her training she was assigned to a project at Harvard next to Howard Aiken, chief engineer of computer Mark I.

It was during her stay in that place that she realized that computers have great potential, which was not taking full advantage since the calculations took a long time. It also raises the need to create high-level languages, so that language is independent of the architecture where running. Thus compilers were born.

In addition to the technical contributions that he made, I think Grace Hopper is a role model because she urged the young generations to take risks and try everything they propose.

The most important thing I've accomplished, other than building the compiler, is training young people. They come to me, you know, and say, 'Do you think we can do this?' I say, "Try it." And I back 'em up. They need that. I keep track of them as they get older and I stir 'em up at intervals so they don't forget to take chances.

References

HSTRY for Education. (2016). Edu.hstry.co. Retrieved 22 September 2016, from https://edu.hstry.co/item/30027

jueves, 1 de septiembre de 2016

Internals of GCC

GCC compiler. (n.d.). Itjungle.com. Retrieved September 1 2016, from http://www.itjungle.com/tfh/tfh101415-story01-fig01.png


Today I will talk about the episode entitled Internals of GCC I heard in the Software Engineering Radio. Morgan Deters was the guest of that day in order to talk about some issues of compilers, for example, why are relevant? how compilers work? among other things.

In 2007, the year it was recorded that episode, Morgan Deters was still a phd student at the University of Washington and had extensive experience in programming languages area, compilers, optimization and everything related to these issues, unfortunately he passed away a year ago.

Continuing the theme of the episode, Morgan Deters tells us that GCC is a compiler for C, C ++, Objective C and Fortran; which is capable of receiving a source program in any of these languages and generate a binary executable program in the machine language which is to run. Also he mentioned that GCC is flexible and can run on any platform, supports different architectures and most importantly produce effective code. Internally GCC is modular. GCC has a structure which is divided into three parts: front, middle and back end, I think where code optimization is done is the most powerful phase of the compiler, since you can significantly improve the running time of the target program.

In conclusion, compilers are relevant and interesting, because they help an efficient implementation of our programs. When programming languages implement new features, compilers must meet these demands, however, should not only be updated to function properly, but also to get the full potential of hardware capabilities. Basically compilers should be able to translate an indeterminate number of programs, at the same time it evaluates whether it can be optimized. The compiler must make a balance between the time it takes to build and how long the program will run, ie how long take the phase to complete and whether it will produce efficient code.