From owner-freebsd-chat@FreeBSD.ORG Sat Apr 15 11:13:36 2006 Return-Path: X-Original-To: freebsd-chat@freebsd.org Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE37D16A401 for ; Sat, 15 Apr 2006 11:13:36 +0000 (UTC) (envelope-from benlutz@datacomm.ch) Received: from maxlor.mine.nu (c-213-160-32-54.customer.ggaweb.ch [213.160.32.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F44343D45 for ; Sat, 15 Apr 2006 11:13:36 +0000 (GMT) (envelope-from benlutz@datacomm.ch) Received: from localhost (unknown [127.0.0.1]) by maxlor.mine.nu (Postfix) with ESMTP id 9F6432E09B for ; Sat, 15 Apr 2006 13:13:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at atlantis.intranet Received: from maxlor.mine.nu ([127.0.0.1]) by localhost (atlantis.intranet [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id naiCBizb9-10 for ; Sat, 15 Apr 2006 13:13:34 +0200 (CEST) Received: from mini.intranet (mini.intranet [10.0.0.17]) by maxlor.mine.nu (Postfix) with ESMTP id 7196F2E02C for ; Sat, 15 Apr 2006 13:13:34 +0200 (CEST) From: Benjamin Lutz To: freebsd-chat@freebsd.org Date: Sat, 15 Apr 2006 13:13:29 +0200 User-Agent: KMail/1.8.3 X-Face: $Ov27?7*N,h60fIEfNJdb!m,@#4T/d; 1hw|W0zvsHM(a$Yn6BYQ0^SEEXvi8>D`|V*F"_+R 2@Aq>+mNb4`,'[[%z9v0Fa~]AD1}xQO3|>b.z&}l#R-_(P`?@Mz"kS; XC>Eti,i3>%@g?4f,\c7|Gh wb&ky$b2PJ^\0b83NkLsFKv|smL/cI4UD%Tu8alAD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1996097.RarQuQCSnt"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200604151313.32519.benlutz@datacomm.ch> Subject: Why is not more FreeBSD software written in C++? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2006 11:13:36 -0000 --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--