From owner-freebsd-questions@freebsd.org Wed Jan 29 00:16:33 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 87A3F246A7D for ; Wed, 29 Jan 2020 00:16:33 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from smtp10.server.rpi.edu (gateway.canit.rpi.edu [128.113.2.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "canit.localdomain", Issuer "canit.localdomain" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 486kYX3h5vz3MCQ for ; Wed, 29 Jan 2020 00:16:32 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from smtp-auth2.server.rpi.edu (smtp-auth2.server.rpi.edu [128.113.2.232]) by smtp10.server.rpi.edu (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id 00T0GMjg069156 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Jan 2020 19:16:22 -0500 Received: from smtp-auth2.server.rpi.edu (localhost [127.0.0.1]) by smtp-auth2.server.rpi.edu (Postfix) with ESMTP id 4E25D1A01B; Tue, 28 Jan 2020 19:16:22 -0500 (EST) Received: from [172.16.67.1] (gilead-qc124.netel.rpi.edu [128.113.124.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: drosih) by smtp-auth2.server.rpi.edu (Postfix) with ESMTPSA id 429D51A018; Tue, 28 Jan 2020 19:16:22 -0500 (EST) From: "Garance A Drosehn" To: "Ihor Antonov" Cc: freebsd-questions@freebsd.org Subject: Re: Rust in base Date: Tue, 28 Jan 2020 19:16:21 -0500 X-Mailer: MailMate (1.13.1r5671) Message-ID: <8754E837-1BBB-4498-8D4C-532ED7895162@rpi.edu> In-Reply-To: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> References: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> MIME-Version: 1.0 Content-Type: text/plain X-Virus-Scanned: ClamAV using ClamSMTP X-Bayes-Prob: 0.0001 (Score 0, tokens from: outgoing, @@RPTN) X-Spam-Score: 0.00 () [Hold at 10.10] X-CanIt-Incident-Id: 031U0gmE1 X-CanIt-Geo: ip=128.113.124.17; country=US; latitude=37.7510; longitude=-97.8220; http://maps.google.com/maps?q=37.7510,-97.8220&z=6 X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.230 X-Rspamd-Queue-Id: 486kYX3h5vz3MCQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=rpi.edu; spf=pass (mx1.freebsd.org: domain of drosih@rpi.edu designates 128.113.2.230 as permitted sender) smtp.mailfrom=drosih@rpi.edu X-Spamd-Result: default: False [-4.78 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:128.113.2.225/28]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[230.2.113.128.list.dnswl.org : 127.0.11.2]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[rpi.edu,none]; IP_SCORE(-1.78)[ipnet: 128.113.0.0/16(-4.91), asn: 91(-3.93), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:91, ipnet:128.113.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2020 00:16:33 -0000 On 24 Jan 2020, at 15:02, Ihor Antonov wrote: > Hi folks, > > As I was reading this article [1] I started wondering what would it > take to bring Rust into base? Examples of Rust code could be kernel > modules, or userland utilities. > > I know that this probably is not going to happen without a real use > case (FreeBSD book states - do not add extra functionality unless a > real task can't be completed without it"), but there is a > bootstrapping problem. Speaking personally, I am pretty interested rust, although I haven't had the time to do much with it. This topic has come up before on other freebsd mailing lists, and realistically rust is not going to show up as part of the base system anytime soon. People need to write compelling applications in rust, where those applications are valuable enough that *they* (those new applications) need to be in the base system. (where "application" could include low-level code such as device drivers) Right now users who are interested in rust can install it via the ports tree. My experience with rust on macOS is that it takes a long time to compile, so I'd suggest using 'pkg install rust' if you want it on FreeBSD. Reminder: I am pretty interested in rust as a language, so you don't need to sell me on the *idea* of rust. But I would not expect to see it as part of the base system in less than 18 months. It would have to come in as part of a new major-version of FreeBSD, and (IMO) it's already too late to get it into what will become 13-release. What you need to do is to get a group of like-minded developers together, and have that group develop some really compelling improvements to the FreeBSD base system which are written in rust. -- Garance Alistair Drosehn = drosih@rpi.edu Lead developer@RPI also gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA