Implementing classes

"Jatin Bhateja, Noida" <jatinb@noida.hcltech.com>
2 Sep 2005 14:22:24 -0400

          From comp.compilers

Related articles
Implementing classes vcrobe@yahoo.com (2005-08-16)
Re: Implementing classes Wienczny@Web.de (Stephan Wienczny) (2005-08-21)
Re: Implementing classes der_julian@web.de (Julian Stecklina) (2005-08-21)
Re: Implementing classes nathan.moore@cox.net (Nathan Moore) (2005-08-31)
Implementing classes jatinb@noida.hcltech.com (Jatin Bhateja, Noida) (2005-09-02)
Re: Implementing classes Juergen.Kahrs@vr-web.de (=?ISO-8859-1?Q?J=FCrgen_Kahrs?=) (2005-09-04)
Re: Implementing classes kszabo@bcml120x.ca.nortel.com (2005-09-10)
Re: Implementing classes darnottJUNK@rogers.com (Doug Arnott) (2005-09-11)
Re: Implementing classes oliver@first.in-berlin.de (Oliver Bandel) (2005-09-11)
Re: Implementing classes david.boyle@gmail.com (2005-09-14)
Re: Implementing classes der_julian@web.de (Julian Stecklina) (2005-09-14)
| List of all articles for this month |

From: "Jatin Bhateja, Noida" <jatinb@noida.hcltech.com>
Newsgroups: comp.compilers
Date: 2 Sep 2005 14:22:24 -0400
Organization: Compilers Central
Keywords: OOP
Posted-Date: 02 Sep 2005 14:22:24 EDT
Content-class: urn:content-classes:message

Hi


Implementing the classes (an OOP feature) one needs to take care of
several things, such as the object layout of the class In the
memory. As the OOP features are quite complex so designing the perfect
object layout is very much important.


Secondly classes can also be implemented by converting the classes to
structures (the concept of C-front). In this approach compiler
converts the class to structure and by using the name mangling
approach compiler can simulate the class using structure.


Thus what one need to do in this case is to convert the object
oriented features to some non object oriented language whose compiler
is available. Thus initially the object oriented source program can be
processed by some preprocessor translate which converts it to non
object oriented language whose stable compiler is available.




Thanks and Best Regards
Jatin Bhateja
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
System Software CoE @ HCLT-Noida
http://www.hcltechnologies.com
Ph. : +91-120-2510701/702 Ext : 3126
FAX : +91-120-2510713


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.