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 763E3C433ED for ; Wed, 5 May 2021 11:34:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3852E6109E for ; Wed, 5 May 2021 11:34:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233085AbhEELfr (ORCPT ); Wed, 5 May 2021 07:35:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232995AbhEELfr (ORCPT ); Wed, 5 May 2021 07:35:47 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91440C061763 for ; Wed, 5 May 2021 04:34:50 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id x2so2057081lff.10 for ; Wed, 05 May 2021 04:34:50 -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=ZML54kizHrR5NJpeLlc2mtwhqqp0lLBFXYygcsoAj37REnjQiBCmezdU9xH7I/cxQH aza6ZK3Cpjs+/KPQHUz6rlHJUoeQzQ6LmKyAd2YtC2gC6Bk5bVTeWSiCrdGxdAiOGQep 8cF6VzY5OYXaJ8IOoPWuJrZwP+wphNcA2wqWY8Zo1ip1n7jxYBHkShZoxAeKhySk1xuI mFweQN7sRjg7ZV+wOrje5D6QtT57hlVXmuL7a0lr0Nn9w0B4DIYG4HHoWqWrlO2+NgD5 mAdy518jxNhhmHR7hJ+azjC/jenUGi9N2gTRTi+j3sUCBD1CgGvgg4Se6/hef397LrL9 0xJQ== X-Gm-Message-State: AOAM533pj4z/D7zKesTq9UsfUtUJw0RADPSP5CLYeYO+mXtUGRlO0iE6 5WhcI6qZXzyOjs3W/e+4m2uUGV775yUzmm1NibvNtQ== 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-doc@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