strengths of C++, (off-topic) WAS Re: apt-class

Jens Ruehmkorf ruehmkorf at informatik.Uni-Koeln.DE
Fri Nov 16 11:45:03 CET 2001


On 16 Nov 2001, Diane Trout wrote:
> Jens Ruehmkorf <ruehmkorf at informatik.Uni-Koeln.DE> writes:
>
> > To get me right, this question was not aiming at a comparison between C
> > and C++, but why there should be difficulties when porting it ;)
>
> Hmm... I haven't seen too many programs written in C++ get ported too
> many places. The biggest problems with porting C++ is that the
> compilers have been slow to catch up to the standard. The biggest
> problem with porting C programs is the Unix API varies in level of
> implementation and bugs between systems.
>
> The fact that my idea is targeting just debian systems makes things a
> lot easier. That means for instance that there's pretty much just one
> version of the standard C and C++ libraries, using pretty much the
> same compiler.

That's exactly what I mean. To prove the point, just have a look at the
sources of dpkg-deb or some other utils written in C for Debian. Ok, you
probably should look into autoconf, but besides that ...

> Is that closer to answering the question you asked?

yup.

Still, I don't want to start a flamewar about it, but simply point out
that porting is not really an issue here.

Jens

P.S. With regard to your last email: it was not the book mentioned by you,
but I will try to look it up (I got it from a library).



More information about the linux-fai mailing list