From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tuhs-bounces@minnie.tuhs.org X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.1 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id a76cd5ed for ; Fri, 24 Aug 2018 13:23:06 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 48F35A1B05; Fri, 24 Aug 2018 23:23:05 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 2D950A1A1A; Fri, 24 Aug 2018 23:22:48 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id C2476A1A1A; Fri, 24 Aug 2018 23:22:44 +1000 (AEST) Received: from accordion.employees.org (accordion.employees.org [198.137.202.74]) by minnie.tuhs.org (Postfix) with ESMTPS id 7AAAFA1A19 for ; Fri, 24 Aug 2018 23:22:44 +1000 (AEST) Received: by accordion.employees.org (Postfix, from userid 1736) id 2678E2D506C; Fri, 24 Aug 2018 13:22:44 +0000 (UTC) Date: Fri, 24 Aug 2018 14:22:44 +0100 From: Derek Fawcus To: 'TUHS' Message-ID: <20180824132244.GA2979@accordion.employees.org> References: <10c401d43aef$8be34870$a3a9d950$@ronnatalie.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10c401d43aef$8be34870$a3a9d950$@ronnatalie.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [TUHS] C++ / Kernel X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Thu, Aug 23, 2018 at 10:42:40AM -0400, ron@ronnatalie.com wrote: > > > Has anyone experimented with building Unix using C++, to take > > advantage of strong typing? My guess is no--it would be a Herculean task > likely to introduce more bugs than it would fix. I recall that there was an attempt to do this with the Linux kernel, but that it was abandoned before it was completed, this would have been pre '98. Probably pre 2.4 Kernel. I have vague memories of discussions about it on the (kernel) mailing list at the time, and that it was the original cause of the 'asmlinkage' annotation on the C level syscalls - basically to turn off C++ name mangling for when the assembler syscall table referenced the C routines. DF