From owner-freebsd-hackers@freebsd.org Mon Dec 31 18:19:40 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1A20143BE96 for ; Mon, 31 Dec 2018 18:19:39 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A344276B93 for ; Mon, 31 Dec 2018 18:19:38 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id wBVIJRGo002909 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 31 Dec 2018 10:19:27 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id wBVIJQNw002908; Mon, 31 Dec 2018 10:19:26 -0800 (PST) (envelope-from sgk) Date: Mon, 31 Dec 2018 10:19:26 -0800 From: Steve Kargl To: Diane Bruce Cc: Enji Cooper , Eric McCorkle , "freebsd-hackers@freebsd.org" Subject: Re: Speculative: Rust for base system components Message-ID: <20181231181926.GA2497@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <713BA6E4-1C4E-4890-831F-6379D3AB4425@gmail.com> <20181231180524.GA2522@night.db.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181231180524.GA2522@night.db.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: A344276B93 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [0.64 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; TO_DN_SOME(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_IN_DNSWL_MED(-0.20)[21.76.95.128.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[cached: troutmask.apl.washington.edu]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.17)[ip: (0.49), ipnet: 128.95.0.0/16(0.27), asn: 73(0.18), country: US(-0.08)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.26)[-0.265,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(0.62)[0.620,0]; NEURAL_HAM_LONG(-0.58)[-0.576,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[washington.edu]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; FREEMAIL_CC(0.00)[gmail.com] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 18:19:40 -0000 On Mon, Dec 31, 2018 at 01:05:24PM -0500, Diane Bruce wrote: > On Mon, Dec 31, 2018 at 09:36:18AM -0800, Enji Cooper wrote: > > > > > On Dec 31, 2018, at 7:02 AM, Warner Losh wrote: > > > ... > > > > At the end of the day, I think the key is that the FreeBSD project needs to start expressing more complicated subsystems in terms of OOP languages, like C++, Rust, etc, instead of expressing most of the code in C. I do think (for instance) a service management system would be a good candidate for modern C++ or Rust. > > > > Well, as someone who remembers when Fortran was King and much systems(!) > programming such as editors etc. was done in Fortran, I cheer on > any effort moving on from the failed Fortran compiler 'C'. > All those Fortran codes from years ago, if written in standard conforming Fortran, will still compile today. J3 (Fortran standardization committee) goes to great length to retain backwards compatiability with older standards. The latest revision to the language was ratified as an international standard only a few weeks ago. https://wg5-fortran.org/f2018.html -- Steve