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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 26279C43461 for ; Wed, 5 May 2021 11:34:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F2826611EE for ; Wed, 5 May 2021 11:34:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233146AbhEELfs (ORCPT ); Wed, 5 May 2021 07:35:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233122AbhEELfr (ORCPT ); Wed, 5 May 2021 07:35:47 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3952C06174A for ; Wed, 5 May 2021 04:34:49 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id c3so2073687lfs.7 for ; Wed, 05 May 2021 04:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IgvoE77MnMbex7B2S0TkrRa1RsaV/q1aQVIu3eT5F4I=; b=dAIjjW2qqzmG32ewtdJN+Q3kO51I+XWS+ICZ5Q/QlSc2OVA+FPOXH5+6ZS9pXMnlZE Wxkl5zEarjWAxfNUZtq5GqF0sd6K4VBDcbpjzDWdxZeMXHrEdAxDgvzeOWqFlMh12LiQ Cq19ZFLDmD9FpgdjvSoafBFGgrQ67n6PLXpV7YuSoimkTtCr4Yo/pze+IqCqjBaOcPUp rYKBPzZsjA6JkGrfrsqxLXLAjGsJEdMVrujwr59VLv4B0a9ClOIxKk4knJnJhEe4VLet NgrSgD4d3S6nbuNcvaP39+rn0ISeLOg4fM86jrwl15wcqhO+SkMfUxMic+EcMKsMIHSx sNmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IgvoE77MnMbex7B2S0TkrRa1RsaV/q1aQVIu3eT5F4I=; b=qGu3qBYwRZlDEk5wNvh3wV/hsrqhJrvP1KLGLAvGguM3jUTOkXYV17Eh1j5ZmmkxdB 3jgGczER0PXMcZGSzuI1WrH87+Ze8q2axrtF1gnDQ0hTgH315uAIDS+sj2F4WmT7RDC6 i7b9gGjlRI18/CpmIjZymuWs5e8dSlagjjCtbZ6o29UgfnCErmgq0VHhEN1JcTuNey9E /rWl9kTFWRiuAThPMKIf7kC/tZPuEUO7Yssm/2uGWFADxYFr1UtgBfRrUB9CowkSDf5Z LsQhw3x+QNLlaKRR2U8HIfCgd0p0IA8ndBeOTHVw4J2oP7mCkiiaWJkrqPJm8wjo0iR2 NcKg== X-Gm-Message-State: AOAM532Bd8E6tEkNMcR6ps+ohHvYyPfzYcWPLo7dAYR+gH+knLFwGNVl +mmJrt8NM8dO46VV3f9x6z3hjYdkAO4TjSMg6Zg7ig== X-Google-Smtp-Source: ABdhPJzSF9AHtOJF7IjLoW++ovuVHUkakgCSuRT8+ZsyQan+kbMdLPrMBrXFyvwHLXQlXaBHgo0G0xAvZDHqik5psVs= X-Received: by 2002:ac2:5e36:: with SMTP id o22mr10820729lfg.529.1620214488167; Wed, 05 May 2021 04:34:48 -0700 (PDT) MIME-Version: 1.0 References: <20210414184604.23473-1-ojeda@kernel.org> In-Reply-To: From: Linus Walleij Date: Wed, 5 May 2021 13:34:37 +0200 Message-ID: Subject: Re: [PATCH 00/13] [RFC] Rust support To: Miguel Ojeda Cc: Wedson Almeida Filho , Peter Zijlstra , Miguel Ojeda , Linus Torvalds , Greg Kroah-Hartman , rust-for-linux , linux-kbuild , Linux Doc Mailing List , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: rust-for-linux@vger.kernel.org On Wed, May 5, 2021 at 1:30 AM Miguel Ojeda wrote: > On Tue, May 4, 2021 at 11:21 PM Linus Walleij wrote: > > I think right now the right thing for Rust is to work out-of-tree until > > there is Rust support for all archs, while encouraging kernel > > developers to learn the language. > > That would be an option, yes, but if the decision ends up being made > and we are encouraging kernel developers to learn the language, what > do we achieve by keeping things out-of-tree? > > In fact, by getting in-tree people, organizations & companies would be > encouraged to give more support sooner rather than later to the LLVM > backends they care about and/or to the GCC frontend for Rust. So, in a > way, it can be a win for those projects too. In a way it is a fair point because for example Unix and C evolved together and were intermingled at the onset. And they kind of needed each other to evolve. Right now it seems like those organizations and companies would be some academic institutions who like rust (because they study languages and compilers) and Google. But that is a pretty nice start, and one upside I would see in it is that the academic people stop writing so many papers and get their hands dirty and work on practical problems in the kernel. So if that can be achieved I would be happy. Yours, Linus Walleij