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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 2536FC433B4 for ; Wed, 14 Apr 2021 23:25:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EAC9B6121E for ; Wed, 14 Apr 2021 23:25:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231848AbhDNXZW (ORCPT ); Wed, 14 Apr 2021 19:25:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230102AbhDNXZV (ORCPT ); Wed, 14 Apr 2021 19:25:21 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FFC4C061574 for ; Wed, 14 Apr 2021 16:24:59 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id z8so25043213ljm.12 for ; Wed, 14 Apr 2021 16:24:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CLbBTpjjt41QwROOmav9UyaOIjiz2GHQ1pdcG8Srixk=; b=VeP6IaajA77cFYvkuq8w+FxgsvKrtgTzKQkHsIUnbj3C5Jk22V4ZM9+zvZz37SPn5z TiQFCz/zT4vgS9uX4hRXotaSG7MLSStLMHrMXh0f0Rt/DJ38PQ9fpl7jzwvjtQeKgP8V Hx7UrZxMHdpm7+Tdggh/yOwOC1UOULzuqCLXra+jaDoh/GLN/nwdvuMUfuw3FJigXg4r /itKl6AchlHXWQsYtLaHMJxdUXNaT8xXG6nbMCYqVNOhYlcjAagZpB+7XqECkRedTxAs V31chxUfLNJEoewg9EHRlGhb4wWK0RQjRemX1GS5F3dJbU+MIRYMN+PBzRboJiJY0Dsa Ogig== 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=CLbBTpjjt41QwROOmav9UyaOIjiz2GHQ1pdcG8Srixk=; b=heXAsS24u3fnlEnIm8p+vMMFpDywt6K/9JU0ugeHhMGln8Ls5Rs8UdmVrSiTNWn1kn u6aJ6DeoHGfjLRn2WVhqetmdArQnwjJWofaMri0shhgq+POYyB8s/kAy28HXedf4rUMW 3c3XJIjCzehNYj9sJDHzuWkZKtUPIR3u5nskXlSYNRFolm9jAi3qdFi4KKwutfnwF6UA ciNqQ19pYbz3uiMMMbc8esOWk73MWWI8GWdqUi3NWjjG1FHrNCIKEsJtdD6eJmE3iMea f9JTaYTmcO6XNvLQExdVEj3xSW+uZNuZgPcrStmiApDqgGqNu+WqbT4w30yhTNbnI00N OckA== X-Gm-Message-State: AOAM530MUZzo3OCZICBo2EoJiAADQVpY7D87Wb8D2M/otGtUdwbs8FcA WUGokTNrWYAcKJrfD3DVfCsGvD+qm4GpuG/ZZpB6tQ== X-Google-Smtp-Source: ABdhPJznGa7Wth739yNjYu+WxC0CwVPRykaGcZdlpatQMKWs83I9ZIGfrqt/typWvysIBPbCfZdRKV/p/qOn75Gm3Yo= X-Received: by 2002:a2e:b817:: with SMTP id u23mr212619ljo.116.1618442697752; Wed, 14 Apr 2021 16:24:57 -0700 (PDT) MIME-Version: 1.0 References: <20210414184604.23473-1-ojeda@kernel.org> <20210414184604.23473-10-ojeda@kernel.org> In-Reply-To: From: Nick Desaulniers Date: Wed, 14 Apr 2021 16:24:45 -0700 Message-ID: Subject: Re: [PATCH 09/13] Samples: Rust examples To: Linus Torvalds Cc: Miguel Ojeda , Greg Kroah-Hartman , rust-for-linux@vger.kernel.org, Linux Kbuild mailing list , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Alex Gaynor , Geoffrey Thomas , Finn Behrens , Adam Bratschi-Kaye , Wedson Almeida Filho Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: rust-for-linux@vger.kernel.org On Wed, Apr 14, 2021 at 12:35 PM Linus Torvalds wrote: > > On Wed, Apr 14, 2021 at 11:47 AM wrote: > > > > From: Miguel Ojeda > > > > A set of Rust modules that showcase how Rust modules look like > > and how to use the abstracted kernel features. > > Honestly, I'd like to see a real example. This is fine for testing, > but I'd like to see something a bit more real, and a bit less special > than the Android "binder" WIP that comes a few patches later. > > Would there be some kind of real driver or something that people could > use as a example of a real piece of code that actually does something > meaningful? Are you suggesting that they "rewrite it in Rust?" :^P *ducks* (sorry, I couldn't help myself) Perhaps it would be a good exercise to demonstrate some of the benefits of using Rust for driver work? -- Thanks, ~Nick Desaulniers