From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 03A0A464C7; Mon, 31 Mar 2025 12:26:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C424C4065A; Mon, 31 Mar 2025 12:26:40 +0200 (CEST) Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com [209.85.219.180]) by mails.dpdk.org (Postfix) with ESMTP id 7843340650; Mon, 31 Mar 2025 12:26:39 +0200 (CEST) Received: by mail-yb1-f180.google.com with SMTP id 3f1490d57ef6-e53c9035003so3731466276.2; Mon, 31 Mar 2025 03:26:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743416799; x=1744021599; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oEguJA7sxiNzRu7SAaD4SSfHU1luGrPb5151zv8BajI=; b=Uu7vvSfqalqQ5melj8lf0LnzCXsM0kqJq7xpez0WfeE0Ofo26nWNAtCt8sbQEdfjj6 svbxLbggKD6q+lCMUE6XRe7Xo4LKEKY0wSNE4jAbkP2Z5IGI8Y6E0hrXNENymZvfrZ4j 1tz0js4C7WFet3fmflIRsh/5nT+99HM2QLoLYLGzXU8v6eEOpNto1wAlk47+dxHv8ccq bX++unEM759Dp3pAiGX+SDk4TX2mwzHrY+eIx+pCxCFTs2mvwp+fFVF9oDd/J+a4VTk9 IGozU+5WLECv0A5FC3iAE6QjBJxdx+LulF6QwCdBShz5j12BznLa2Vq9eUKku4q24rjs Lc3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743416799; x=1744021599; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oE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Z4EmbEk= X-Received: by 2002:a05:6902:2102:b0:e60:a3f1:b13b with SMTP id 3f1490d57ef6-e6b839a0918mr10857486276.18.1743416798747; Mon, 31 Mar 2025 03:26:38 -0700 (PDT) MIME-Version: 1.0 References: <20250306133713.393057-1-getelson@nvidia.com> <98CBD80474FA8B44BF855DF32C47DC35E9FB79@smartserver.smartshare.dk> <461725d-3c36-9b7f-c02d-f630dc8bc725@nvidia.com> <2e308be8-8ef3-963-cbb2-5cf68a3d3b3d@nvidia.com> <20250328122516.733217af@hermes.local> In-Reply-To: From: Luca Boccassi Date: Mon, 31 Mar 2025 10:26:27 +0000 X-Gm-Features: AQ5f1JoIgejrcEUG8ZS-5q9-2YBgMdrSCUwObPRdPJgF_CJg5m8MsjGlw3wZVLU Message-ID: Subject: Re: DPDK for rust To: Bruce Richardson Cc: Stephen Hemminger , "Etelson, Gregory" , =?UTF-8?Q?Morten_Br=C3=B8rup?= , dev@dpdk.org, techboard@dpdk.org, thomas@monjalon.net, mkashani@nvidia.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, 31 Mar 2025 at 10:20, Bruce Richardson wrote: > > On Fri, Mar 28, 2025 at 12:25:16PM -0700, Stephen Hemminger wrote: > > On Fri, 28 Mar 2025 21:09:21 +0300 (IDT) > > "Etelson, Gregory" wrote: > > > > > >> Hello Morten, > > > >> > > > >> Thank you for raising these questions ! > > > >> > > > >>> > > > >>> Do we want the DPDK project itself to support rust? > > > >>> Or should parts of this be a DPDK hosted project, like grout? > > > >> > > > >> Rust packages management is different. > > > >> Also DPDK Rust code will eventually provide a different API. > > > >> At this stage, DPDK hosted project looks like a good idea. > > > >> > > > > > > > > For ease of use, that would mean hosting a cargo registry, no? > > > > > > > > > > That's correct - cargo registry is the native way. > > > Also we may consider splitting the code between several crates. > > > That approach can provide more flexible way to arrange files. > > > > Talk to Luca. The current rust cargo registry model is causing > > lots of grief for distro's such as Debian, Redhat, Ubuntu and SUSE. > > > > Packaging is always a pain > > Yes, but cargo is just the way the rust ecosystem works right now. If we > want to have DPDK available for rust developers it needs to be accessible > via cargo. Making DPDK available on it is not an issue - the problems start popping up if it is _used by_ DPDK to pull in dozens of dependencies, as it becomes way, way too hard to manage. If you only use the compiler and the standard library then it's doable