Why is not more FreeBSD software written in C++?
--nextPart1996097.RarQuQCSnt
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Something occurred to me just now. I've been looking at the summer of code=
=20
page, where I noticed the "Rewrite cvsup in C" entry. When Perl was removed=
=20
from the FreeBSD base, the general notion was to rewrite any Perl scripts i=
n=20
sh or C.
Why is it that C++ is not used for our programs? The C++ compiler is in the=
=20
base and built by default, and the OOP paradigm is a nice one, that many=20
programmers, especially the younger ones (like me :) ) are probably more=20
familiar with than the tricks and techniques used in C to achieve good=20
efficiency.
My first guess is that it's a habit. People dealing with the FreeBSD source=
=20
code are used to C, and therefore use that for their apps. If it's only tha=
t,=20
there'd be no good reason for not writing a tool like cvsup in C++, right? =
Or=20
is there a more technical reason?
Cheers
Benjamin
--nextPart1996097.RarQuQCSnt
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQBEQNVcgShs4qbRdeQRAty1AJ9ROXUvmiinf+D6hbwGM+jQxMZFxACeNmTr
qsmukDrIfM6Ng/1pwDxS0sc=
=1vAT
-----END PGP SIGNATURE-----
--nextPart1996097.RarQuQCSnt--
討論串 (同標題文章)
完整討論串 (本文為第 1 之 45 篇):