Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp377710pxy; Wed, 5 May 2021 04:35:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhWtkyF5vWR1tEY4T4zG7WeknSLuHfitdlGBvpDFDQC32YwzkCT/cbe8u/H+ag9MDkEzZs X-Received: by 2002:a17:902:d386:b029:ee:bf5f:c037 with SMTP id e6-20020a170902d386b02900eebf5fc037mr21061073pld.31.1620214558236; Wed, 05 May 2021 04:35:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620214558; cv=none; d=google.com; s=arc-20160816; b=QFXA4NwBGexYnJWj3Dm42ApurYcrmC4QooeoTAxXg2YCq+DDAHjKyMtkl4pjknGWgH d/hwsSNl3fLmU5/XmQWU2kMREfQs1QsMhT9TO3nURITCOLahUGyOIHGxVauqMZjPQcIf NwmpDfZnOIg9+AVCx4RwAVYTabWFSUNkxZN07O4BA107nwvzwdjW1HVvKLUZHORHqaog OLk+0ui7VOEDMCLaS9lglQMhIpyCd+QaYyPizmIKufwvM2XAfQ5uZZFw8ccFkyPYlVIF erZNRdTtCm8p9IKSYcSScw8JjrH6+5JZgRidZTWqvqXyJ1qS9rUeIiBf3De8K3nCVvtS TYZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IgvoE77MnMbex7B2S0TkrRa1RsaV/q1aQVIu3eT5F4I=; b=ThHgLLFAa47OZy2+PBtXsvRMoKl8fq+YJeWWMQrw0XslQYWaIkViHinjplHHA+SgvO snDdCIFEnaT4zQBSItQOGDO4HWoVNHWNDpoFd/u2MBVPwsNm/sX37rKzWjqRb+khw8La VqpttATsLmmgQQ9Da9sHw47CEekb5+8ai+IZvjM9pDZwyPIJbuW1ZJRkD9wX/Gg0bQ8e BT+1MCry+NDkSwlwINFs70SmNskgUg/JrqXHUmAonVILQ2cWHOebQRQl9VoFhN/23KMi xaoMNiFj1cIq2ttTm6R2voGp3Yjk2rAX3RtdBd4+19XXzcw5/gWH+tuso768it7ysq2+ +Jiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dAIjjW2q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y4si6974692plt.220.2021.05.05.04.35.44; Wed, 05 May 2021 04:35:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dAIjjW2q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233064AbhEELfr (ORCPT + 99 others); Wed, 5 May 2021 07:35:47 -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-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