Received: from eggs.gnu.org ([2001:4830:134:3::10]:57497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoAuD-0007Qq-R2 for qemu-devel@nongnu.org; Thu, 07 Apr 2016 10:27:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoAuC-0002Od-QT for qemu-devel@nongnu.org; Thu, 07 Apr 2016 10:27:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoAuC-0002Nw-Ko for qemu-devel@nongnu.org; Thu, 07 Apr 2016 10:27:32 -0400 From: Markus Armbruster References: <87r3fjpvgx.fsf@fimbulvetr.bsc.es> <56E046D3.2080709@twiddle.net> <87twkfo6tn.fsf@fimbulvetr.bsc.es> <56E0714F.1090602@twiddle.net> <878u1rnv36.fsf@fimbulvetr.bsc.es> <8737rujz5n.fsf@fimbulvetr.bsc.es> <871t7dh71t.fsf@blackfin.pond.sub.org> <87mvpa4zcc.fsf@fimbulvetr.bsc.es> Date: Thu, 07 Apr 2016 16:27:28 +0200 In-Reply-To: <87mvpa4zcc.fsf@fimbulvetr.bsc.es> (=?utf-8?Q?=22Llu=C3=ADs?= Vilanova"'s message of "Sun, 03 Apr 2016 15:05:23 +0200") Message-ID: <87egahxzn3.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , Richard Henderson , QEMU Developers , Peter Crosthwaite Llu=C3=ADs Vilanova writes: > Markus Armbruster writes: > >> Peter Maydell writes: >> [...] >>> if we move away from C I'd rather >>> it to be a language that's nicer than C rather than one that's >>> uglier and larger and still retains all of C's flaws. > >> Seconded strongly. > > Just curious. Do we agree though that moving selected pieces like the code > templates with macros to C++ templated functions, or QOM to C++ classes w= ould be > an improvement over the current C code without any dramatic changes in the > codebase? (I don't think more than that is needed) I don't think we do.