Re: Factoring [Was: Common Opensource codec API]

Steve Lhomme <[email protected]>
Newsgroups gmane.comp.multimedia.media-api
Message-ID <[email protected]>
Enrico Weigelt wrote:

> * Steve Lhomme <[email protected]> [2004-01-06 20:44:49 +0100]:
> 
> <snip>
> 
>>I agree for languages interaction. There's almost no other choice. But 
>>that simply means having the shared structures inside extern "C" {}. But 
>>all the system can be built with C++.
> 
> Also API functions must be plain C.
> 
> But, what should C++ really bring for you ?
> You can really use OOP, since it cannot be exported into the API.
> (if you put a C wrapper around a classlib, its huge resource wastal)
> 
> So why just completey stay in plain C ?

Because of the power of C constructors and inheritance. Anyway, that's 
juts a proposal.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.