From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 10 22:21:37 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC4E916A4DA for ; Mon, 10 Jul 2006 22:21:36 +0000 (UTC) (envelope-from V.Haisman@sh.cvut.cz) Received: from service.sh.cvut.cz (service.sh.cvut.cz [147.32.127.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC27743D45 for ; Mon, 10 Jul 2006 22:21:33 +0000 (GMT) (envelope-from V.Haisman@sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service.sh.cvut.cz (Postfix) with ESMTP id 44AF21A333C; Tue, 11 Jul 2006 00:21:32 +0200 (CEST) Received: from service.sh.cvut.cz ([127.0.0.1]) by localhost (service [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29039-03; Tue, 11 Jul 2006 00:21:29 +0200 (CEST) Received: from logout.sh.cvut.cz (logout.sh.cvut.cz [147.32.127.203]) by service.sh.cvut.cz (Postfix) with ESMTP id 09D0C1A3322; Tue, 11 Jul 2006 00:21:29 +0200 (CEST) Received: from [192.168.1.2] (localhost [127.0.0.1]) by logout.sh.cvut.cz (Postfix) with ESMTP id A72A961C4D; Tue, 11 Jul 2006 00:21:28 +0200 (CEST) Message-ID: <44B2D2DF.2000401@sh.cvut.cz> Date: Tue, 11 Jul 2006 00:21:19 +0200 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Julian Elischer References: <200607092136.k69LaNDX055391@www.freebsd.org> <84dead720607092015q7f1701abse143f3855c2aa95a@mail.gmail.com> <1152540567.99616@origin.intron.ac> <44B2AE69.4080703@elischer.org> In-Reply-To: <44B2AE69.4080703@elischer.org> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=733031B4 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUnMzWJm5S+0864pn5r blp/hnW2up7X7uqftbNRVUrW1LGBdGfHwJqPi3ScoYtBQzhDxGEwAAAAB3RJTUUH1QoQDDgyQtx8 HQAAAkNJREFUeJzFU0toU0EUPYu66CpGdCUUmoUJkpUDQUoNBVEUrBJsq1Ki2EIKIUZ8mydBhYi0 wVUXJVCLCrFN4DIEQdxIqdBIFsMkWD9YJClCRGKjJaviynjfe8RPogtXPcObuXPOPXd+PHj+Aeyo QNmobGLXVeANGM+GsP0B2yqHHNVoCD2LwLglVGZx7yXSlADR0uZu9C4Bpy3hUxPvH/cuUw6UoPCL h64I8KAJuMpwRU8uUMJy0OIpHVeXmulZoCc/t0LlTbJLEY1EudPRcnVjgAP5Osdl4K5HVP4+2bAI okaUA0Iq6Q59+Zy2eMWN6EpFTsa3+uD1+JKj4TPHuYTSMaLScLAaqk94YJqG4ds30hojOVgYoNJc NTztNU2TBYbhu9Aafnq08ORja37da1NwBrN/b7NVEc+b8yecuYkp08vNvLYneVZRaSH1vS0UnfHm OUPzWaZufHPmCWSdWrfeGVQQKmcsO4If8pAdXJ/xF4QQAeOVY1AQQcfirwkLUWeWVTgi6vaGt2xe BGzBEIMQorru8RxgPqY1V6uxYnwVBRZEI1ytCm3dE8mC2DgcbzCJGHdBEVDKuWDSwsrSGoqzJmNt 2jJpNueIH0qS8/0JrDKnVBdvOzIsdVr4zaX9dn9xcLLKdCtQGfutVacLE9Ja+yfbDvO4aMWrklfK /JYv15C8Kw9S10kup5Bys0N1bLdcn4HvTl/Xlh6Fpllwj5/XpH9BUXn/ym0Dvv7Rt2MywojpYiSi i7Hsscaa19zZ//y/hR+BT/ns80nmJAAAAABJRU5ErkJggg== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig18E5729BA044AC2C766A8AE3" X-Virus-Scanned: by amavisd-new at sh.cvut.cz X-Spam-Status: No, hits=-5.9 tagged_above=-255.0 required=5.0 tests=ALL_TRUSTED, BAYES_00 X-Spam-Level: Cc: freebsd-hackers@freebsd.org, delphij@delphij.net, mag@intron.ac Subject: Re: kern/99979: Get Ready for Kernel Module in C++ X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2006 22:21:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig18E5729BA044AC2C766A8AE3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Julian Elischer wrote, On 10.7.2006 21:45: > mag@intron.ac wrote: >=20 >> Joseph Koshy wrote: >> >>>> I would write my kernel module in C++, just like IOKit >>>> of OpenDarwin. Thus, all conflicts against C++ in current >>>> FreeBSD kernel source must be swept out firstly. >>> > While the idea of using C++ in the kernel made me very nervous, > I have seen some places where an official subset might be useful. > is it worth having a discussion about what features of C++ (or modular = C) > we would want to support and what would remain "illegal" in the kernel?= >=20 > Inherritance would be noce but there are traps.. e.g. > How do you cope with classes depending on superclasses that may be from= > a different > module and may have been compiled at a different time? > (i.e. the base structure may have changed) Binary compatibility is always a problem, no mater the language used. Besides, doesn't the FreeBSD kernel build system always compile all modul= es? Deciding that some features are bad beforehand, before you evaluate them is IMO bad idea. Let interested people write a bunch of C++ modules with the complete language before deciding on what shouldn't be used. My $0.05... -- Vaclav Haisman --------------enig18E5729BA044AC2C766A8AE3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRLLS6ENOZDESBK8FAQIFnwgAl72K3xCG+YWMSHXUm/e5ioVrB9JRFOnq iy9LDZRd4lN8TZ9ORGxwpIyXO0nKorNutL8EOA8/i71ETPSrZyQfvHRCKpk7YHtP aw+B4Qb2MO1+x+QQH0LjXEvk3bCo7qXTbQ9QxsFqrkp/cI4BMIlDNNbqaQzVI+41 0KVzw6CEbUh8cJFT/fpwj5dvIQUTYV6RUc0Q25RuCsEnjh2JoOjq/Oq4/n7iE7x2 hAHQVkBCxP/KL3pNRU+kacFRzheFN4F0TbVg4Rp8UYY1c5xwHo5j0j9+4QWtlXFt ugx0UlsXVIGHtgO4AttO3w93e9ZYbXAmolc8u+E/+3+20XnjLl0ltg== =0bFX -----END PGP SIGNATURE----- --------------enig18E5729BA044AC2C766A8AE3--