From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjvEs-0007a2-B0 for qemu-devel@nongnu.org; Thu, 21 Jul 2011 11:32:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjvEr-0006F7-1P for qemu-devel@nongnu.org; Thu, 21 Jul 2011 11:32:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjvEq-0006Ev-PZ for qemu-devel@nongnu.org; Thu, 21 Jul 2011 11:32:36 -0400 Message-ID: <4E284690.6030808@redhat.com> Date: Thu, 21 Jul 2011 18:32:32 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4E259F6E.8000204@us.ibm.com> <4E2824D2.2050401@redhat.com> <4E2827A2.6010603@us.ibm.com> <4E282BE3.1050404@redhat.com> <4E283C90.8010806@us.ibm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] QEMU Object Model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luca Tettamanti Cc: Anthony Liguori , qemu-devel , Markus Armbruster On 07/21/2011 06:19 PM, Luca Tettamanti wrote: > On Thu, Jul 21, 2011 at 4:49 PM, Anthony Liguori wrote: > [cut] > > And it's really not that much nicer than the C version. The problem with > > C++ is that even though the type system is much, much nicer, it still > > doesn't have introspection or decorators. These two things would be the > > killer feature for doing the sort of things we need to do and is really > > where most of the ugliness comes from. > > QT has introspection; what about using the core (i.e. QObject and moc) > to build QEMU object model? Having someone else's code generator is better than building our own, but it's still very annoying. I'm guessing Qt is pretty well done though. Worth a look. -- error compiling committee.c: too many arguments to function