A rather interesting point worth noting is that Cfront was written mostly in C with Classes, making it a self-hosting compiler (a compiler that can compile itself). It was a program designed to translate C with Classes code to ordinary C. The first C with Classes compiler was called Cfront, which was derived from a C compiler called CPre. His language included classes, basic inheritance, inlining, default function arguments, and strong type checking in addition to all the features of the C language. His goal was to add object-oriented programming into the C language, which was and still is a language well-respected for its portability without sacrificing speed or low-level functionality. Shortly thereafter, he began work on 'C with Classes', which as the name implies was meant to be a superset of the C language. Stroustrup found that this paradigm was very useful for software development, however the Simula language was far too slow for practical use. The Simula 67 language - which was the variant that Stroustrup worked with - is regarded as the first language to support the object-oriented programming paradigm. One of the languages Stroustrup had the opportunity to work with was a language called Simula, which as the name implies is a language primarily designed for simulations. The C++ programming language has a history going back to 1979, when Bjarne Stroustrup was doing work for his Ph.D.
0 Comments
Leave a Reply. |