From owner-freebsd-arch@FreeBSD.ORG Tue Nov 6 03:19:12 2007 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE99516A41A; Tue, 6 Nov 2007 03:19:12 +0000 (UTC) (envelope-from bobmc@fcibroadband.com) Received: from smtp-out.fcibroadband.com (smtp-out.fcibroadband.com [64.119.104.17]) by mx1.freebsd.org (Postfix) with ESMTP id 9ADB013C4A6; Tue, 6 Nov 2007 03:19:12 +0000 (UTC) (envelope-from bobmc@fcibroadband.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-in1.fcibroadband.com (Postfix) with ESMTP id 5356F1B1838; Mon, 5 Nov 2007 21:59:08 -0500 (EST) Received: from smtp-out1 ([127.0.0.1]) by localhost (smtp-out1 [127.0.0.1]) (amavisd-new, port 10025) with SMTP id 04787-08; Mon, 5 Nov 2007 21:59:05 -0500 (EST) Received: from [192.168.1.100] (host661461424a.dsl.res.tor.fcibroadband.com [66.146.142.74]) by smtp-out.fcibroadband.com (Postfix) with ESMTP id 836371B17F8; Mon, 5 Nov 2007 21:59:05 -0500 (EST) Message-ID: <472FE67F.90207@fcibroadband.com> Date: Mon, 05 Nov 2007 22:58:55 -0500 From: Bob McIsaac User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: Ivan Voras References: <472F31DF.4050507@travel2.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org Subject: Re: Objective-C kernel Development X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bobmc@bobmc.net List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2007 03:19:12 -0000 Ivan Voras wrote: > Ben Crowhurst wrote: > >> Has Objective-C ever been concidered for kernel development? >> > > I haven't done anything in it, but it seems it has some good points: > native compilation and similarity to C. On the other hand it's not > nearly as popular and well-known as C++, doesn't have templates and not > even Apple uses it in kernel (IOKit is in C++). > > Higher level languages help application programmers but may not help kernel developers because different concerns and constraints apply. Performance is much more important for kernel. The memory-management and bounds checking built into some languages might hinder the kernel guys who want precise control over every aspect of kernel execution. Someone said that with C you can shoot yourself in the foot, but C++ blows your leg off. Perhaps the skill and motivation of the kernel developer is more important than the language used. -BobMc-