From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EC30C433E1 for ; Tue, 28 Jul 2020 20:40:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0974F2065C for ; Tue, 28 Jul 2020 20:40:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729081AbgG1Ukl (ORCPT ); Tue, 28 Jul 2020 16:40:41 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:49984 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728430AbgG1Ukl (ORCPT ); Tue, 28 Jul 2020 16:40:41 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id D21D91C0BDF; Tue, 28 Jul 2020 22:40:38 +0200 (CEST) Date: Tue, 28 Jul 2020 22:40:38 +0200 From: Pavel Machek To: Josh Triplett Cc: Linus Torvalds , Christian Brauner , Nick Desaulniers , alex.gaynor@gmail.com, Greg KH , geofft@ldpreload.com, jbaublitz@redhat.com, Masahiro Yamada , Miguel Ojeda , Steven Rostedt , LKML , clang-built-linux , Kees Cook Subject: Re: Linux kernel in-tree Rust support Message-ID: <20200728204037.GC1012@bug> References: <20200710062803.GA1071395@kroah.com> <20200710125022.alry7wkymalmv3ge@wittgenstein> <20200710225934.GA16881@localhost> <20200711210317.GA60425@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200711210317.GA60425@localhost> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > No, please make it a "is rust available" automatic config option. The > > exact same way we already do the compiler versions and check for > > various availability of compiler flags at config time. > > That sounds even better, and will definitely allow for more testing. > > We just need to make sure that any kernel CI infrastructure tests that > right away, then, so that failures don't get introduced by a patch from > someone without a Rust toolchain and not noticed until someone with a > Rust toolchain tests it. So... I'm fan of Rust, but while trying to use it one thing was obvious: it takes _significantly_ longer than C to compile and needs gigabyte a lot of RAM. Kernel is quite big project, can CI infrastructure handle additional load? Will developers see significantly longer compile times when Rust is widespread? Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html