From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq2VH-000891-QE for qemu-devel@nongnu.org; Wed, 25 Jan 2012 08:03:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq2VC-0002Lm-00 for qemu-devel@nongnu.org; Wed, 25 Jan 2012 08:03:07 -0500 From: Paul Brook Date: Wed, 25 Jan 2012 13:02:50 +0000 References: <1327433600-7403-1-git-send-email-aliguori@us.ibm.com> <4F1F38B6.7000506@codemonkey.ws> <4F1FBE64.2010109@suse.de> In-Reply-To: <4F1FBE64.2010109@suse.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201201251302.50819.paul@codesourcery.com> Subject: Re: [Qemu-devel] [PATCH 27/28] sysbus: apic: ioapic: convert to QEMU Object Model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-15?q?F=E4rber?= Cc: Peter Maydell , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Alexander Graf , Blue Swirl , Jan Kiszka , Gerd Hoffmann , qemu-ppc@nongnu.org, Aurelien Jarno > > There is a declarative solution for this that I know of, a C++ class > > definition ;-) > > So what's the reason not to go with one of the object-oriented, > C-compatible languages GCC supports, like C++ or Objective-C/C++? > (Objective-C has native reflection capabilities fwiw.) I'd avoid Objective-C as it has very little use (and thus real support/testing) outside of Apple. Even more so for Objective-C++. I've no objection in principle to C++, though it does raise various practical issues. I'm suspicious of a plan that only converts some of the codebase to C++. Paul