Connecting Tech Pros Worldwide Help | Site Map

C++ with interfaces

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 22nd, 2005, 08:59 AM
christopher diggins
Guest
 
Posts: n/a
Default C++ with interfaces

I have written and posted a C++ language extension (HeronFront) which
demonstrates how interfaces can significantly outperform designs that use
multiple inheritance of abstract base classes.

For example the NaiveInt class in the following example in C++ :
http://www.heron-language.com/abc-example.html when rewritten using
interfaces in HeronFront (
http://www.heron-language.com/hfront-example.html ) takes 1/8th the size and
runs signficantly faster. The only drawback are that interface references
take two pointers instead of one pointer like to an abstract base class.

The code and examples are available for download at
http://www.heron-language.com/heronfront.html . I would appreciate any and
all feedback.

Thanks in advance.

Christopher Diggins
http://www.cdiggins.com





 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.