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 3FE3FC43460 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 186E16121F for ; Wed, 5 May 2021 11:34:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233134AbhEELfs (ORCPT ); Wed, 5 May 2021 07:35:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232993AbhEELfq (ORCPT ); Wed, 5 May 2021 07:35:46 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D16D7C061574 for ; Wed, 5 May 2021 04:34:49 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id x19so2104886lfa.2 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=W5USbVJ6mmr6cOXvIUntcS+zcEIZJkVHk4jqydrGuz3jJYvuJzsiVQKx+zeNqJnaQ1 L/AEDhqygfqeVf91KbCgXtt1F1TiUtwxgizBTju6MR8ITaErH8QHkPrcf5HAGeHZDDNr 3ioQYaL/BP6nwYR3avj/F/6MrlU47QpkFXh37V4eUDFhOZGuhFTFi3dBAHuWE8BCuso4 suR1uLkg37jNdRnhcv5NQRnf6SsUXn80QOIY7RlDtmTyrB2vRsYgAC7gvbQdskQ5BJLe VQQdHS/ByVRe3zyIgzC40VTQRz/JjS6ErHsC5l4wkcBsWKn0twGn6UQYYGTlS73MaDIj jiMg== X-Gm-Message-State: AOAM5308f0INILHQV0uJZcBbj+QuS9U1mJcMCBZXPCIyks7LDisgFyij M+eBSwUZgcA1A1w4dc9jOVGXIyNL3ZEmyfjDZRBjAw== 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: linux-kernel@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