From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 10 19:21:22 2009 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7578C106566C for ; Tue, 10 Feb 2009 19:21:22 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 90C558FC17 for ; Tue, 10 Feb 2009 19:21:21 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id VAA15765 for ; Tue, 10 Feb 2009 21:21:20 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4991D3AF.1070001@icyb.net.ua> Date: Tue, 10 Feb 2009 21:21:19 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.19 (X11/20090110) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: a little bit of c++ in kernel [module] 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: Tue, 10 Feb 2009 19:21:22 -0000 I've detected so far several postings on the lists where people ask about such a small nits of having c++ kernel code that some people already have some code in [subset of] c++ working kernel. I wonder if there is any howto about that or maybe somebody is willing to share his experience. What interests me the most: 1. what subset of c++ is used 2. what compilation options/tricks are used 3. how much of run-time support had to be added to kernel (and if that's code is available) 4. what else had to be changed in kernel code 5. so, how is it? :-) I think that I am not the only with such interest. P.S. no, I am not interested in re-writing the whole kernel in c++ or any discussion on that topic, I am interested in a small controlled injection. -- Andriy Gapon