From owner-freebsd-chat Wed Jan 9 13:33:12 2002 Delivered-To: freebsd-chat@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 9FAC037B41B for ; Wed, 9 Jan 2002 13:33:09 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 4B8DBBD2E for ; Wed, 9 Jan 2002 13:33:09 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id NAA28996 for ; Wed, 9 Jan 2002 13:33:08 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id g09LXVt43507; Wed, 9 Jan 2002 13:33:31 -0800 (PST) (envelope-from swear@blarg.net) To: freebsd-chat@freebsd.org Subject: Use of C++ with kernel and in embedded software. From: swear@blarg.net (Gary W. Swearingen) Date: 09 Jan 2002 13:33:31 -0800 Message-ID: Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org What are disadvantages of writing kernel modules or device drivers in C++? (I'm not sure it's practical or even possible without patching the kernel.) Are there such modules? (My quick search didn't find any.) In embedded software development, what fraction of current development (not legacy code) is done with each of C and C++. I fear it's something like 85%/10%, but I really have nothing to base my guess on. Maybe you don't either, but I suppose that several hunches are better than one. (I need to retrain myself in C or C++, for eventual use in embedded software development outside the M$ world. I hate to resort to crude C after my long experience with equally-crude FORTRAN and with elegant Ada and so would prefer to concentrate on the compromise of hacked-up C++, but I'm wondering if there's too little C++ work in embedded software development. Is almost all C++ work in high-level stuff, "designed for Windows(TM)", etc?) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message