From owner-freebsd-questions@freebsd.org Fri Jan 24 21:07:49 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 03D011FC1A6 for ; Fri, 24 Jan 2020 21:07:49 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 484BYc1LhJz4YT3 for ; Fri, 24 Jan 2020 21:07:48 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.231] (unknown [172.58.139.151]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 5B3554E66C; Fri, 24 Jan 2020 14:59:47 -0600 (CST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: Rust in base From: Valeri Galtsev In-Reply-To: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> Date: Fri, 24 Jan 2020 14:59:45 -0600 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6C860899-4D38-4BD0-AFDB-E44165B0461A@kicp.uchicago.edu> References: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> To: Ihor Antonov X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 484BYc1LhJz4YT3 X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [7.75 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; RECEIVED_SPAMHAUS_PBL(0.00)[151.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; RECEIVED_SPAMHAUS_XBL(5.00)[151.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.15)[ip: (0.43), ipnet: 128.135.0.0/16(0.21), asn: 160(0.17), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[70.20.135.128.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; GREYLIST(0.00)[pass,body]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes 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: Fri, 24 Jan 2020 21:07:49 -0000 > On Jan 24, 2020, at 2:02 PM, Ihor Antonov = wrote: >=20 > Hi folks,=20 >=20 > As I was reading this article [1] I started wondering what would it = take to bring Rust into base?=20 A side note from user (sysadmin running a bunch of fReeBSD servers), not = FreeBSD developer. We use FreeBSD because the base is slim. Bringing variety of stuff in = the the base will bloat the base system. If I were allowed to express an = opinion, mine would be: strong NO. Just my two cents. Valeri > Examples of Rust code could be kernel modules, or userland utilities.=20= >=20 > I know that this probably is not going to happen without a real = usecase (FreeBSD book states - do not add extra functionality unless a = real task can't be completed without it"), but there is a bootstrapping = problem.=20 > You cannot have rust code until you have rust code unless you have = rust compiler, and rust compiler is written in rust... This could be a = major roadblock for someone who wants to contribute a kernel module or = new tool written in rust.=20 >=20 > There is a growing interest in Rust language and if FreeBSD allows to = add rust code in base it would allow to attract more contributors = interested that are interested in developing operating systems. It would = also be something that Linux does not have.=20 >=20 >=20 > So there are 2 questions:=20 > - technical one: how bootstrapping issue can be solved?=20 > - what does FreeBSD community think of the idea to have Rust in base?=20= >=20 > Thanks.=20 >=20 >=20 > Ihor=20 >=20 >=20 > [1] = https://www.leidinger.net/blog/2019/01/27/strategic-thinking-or-what-i-thi= nk-what-we-need-to-do-to-keep-freebsd-relevant/=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++