Implementing classes

"Jatin Bhateja, Noida" <>
2 Sep 2005 14:22:24 -0400

          From comp.compilers

Related articles
Implementing classes (2005-08-16)
Re: Implementing classes (Stephan Wienczny) (2005-08-21)
Re: Implementing classes (Julian Stecklina) (2005-08-21)
Re: Implementing classes (Nathan Moore) (2005-08-31)
Implementing classes (Jatin Bhateja, Noida) (2005-09-02)
Re: Implementing classes (=?ISO-8859-1?Q?J=FCrgen_Kahrs?=) (2005-09-04)
Re: Implementing classes (2005-09-10)
Re: Implementing classes (Doug Arnott) (2005-09-11)
Re: Implementing classes (Oliver Bandel) (2005-09-11)
Re: Implementing classes (2005-09-14)
Re: Implementing classes (Julian Stecklina) (2005-09-14)
| List of all articles for this month |

From: "Jatin Bhateja, Noida" <>
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


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
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.