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 B1366A0093 for ; Mon, 11 Apr 2022 14:57:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5474040692; Mon, 11 Apr 2022 14:57:40 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by mails.dpdk.org (Postfix) with ESMTP id 4874A40689 for ; Thu, 7 Apr 2022 13:45:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1649331942; bh=XnfmkgwdG4CBYa6ae45FcJs1+W7B3sko8uE7XC6wh8g=; h=X-UI-Sender-Class:From:To:Subject:Date; b=bzgFZOH+kA5s0D+Fel0vtxz6mb2sBB+e1pKXSM69R53k+lSuv/MH6rpY6FeF0EKyM AsHDa2uYg3lzboFrSSonYNXizARosu4ZYVHphlzMEF+DK3ADvwGJIEpUEhl2NtZIpI OUBB9IWpL3rc30UrlmcsUXIy3hnK4wQ3vEP0752A= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [85.163.53.149] ([85.163.53.149]) by web-mail.gmx.net (3c-app-gmx-bap38.server.lan [172.19.172.108]) (via HTTP); Thu, 7 Apr 2022 13:45:41 +0200 MIME-Version: 1.0 Message-ID: From: Alexander Oh To: users@dpdk.org Subject: Rust with DPDK Content-Type: text/html; charset=UTF-8 Date: Thu, 7 Apr 2022 13:45:41 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:schX0VuADqYtVxPD28Htdiv2zBpQLeV2rKRl/+KEp7N110JTY8qChqOzcXJM7GQRsJySU On87zfuHl7/3HMAQ78z0A9fZ4+6kE55/A5/F3Oa9U9Jg0f/jE0nF6U0TO4GUgA2hVyxUbKlDA8MJ q5owmGYA0whfqggwKqrHvhxNdhxhx63VXRaiRWxZLAMFYKdop5uYIeq/snP8oj7DKDpeDp9Nbg90 O44vYwMH1ARNUKjmKdJsyXrMdHVlDFqp4unN7Kx+ht4eeikJvElxnHAMQz0cHFfpJC/7ipMUdqdm 28= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:1e2cV/f3XCE=:IzJtqQeur9eFwDy06T6uRR fq8Mn+M2SrHIWWz3crZDWYK367N3jXRMh36IA7NTf9+DxJcvREGLlfrMz5rJFYnqWpL68Rekf yIBrIV6GDeM+DXM07g8iWC7UdiN2K1LLiFnFGiDF4Y++rDg9BpMrFuSRuXJ2rCEolXP6/1TaU 1Xeov+O4vJmPnIbLe81Xb+DRipBr40201DRlbQzcOMBx1lXPxpjXe5Kzu+/yLlxnhcHb0GLWH MAiaNlRChosHi84hQwD05t+bk5yAYqZn/wPcoQqVerWLE3AnaRA4yBZmjiXN4RqkTtzXyYUnN vqxEe43X2oDvGiK5TErTOGNraIjtAPhnCV8HW9dXmzFCbtbChxWqe0pwrEWndy4LE8eNF9Gkx zqFQgBCOVrJFIF/a0lUvBdjPYY2AodmV/zgenbQUyfEQODCW7Cnbf9jHeUgrmG6Ul5VFqkHax IQsMRC0tE+N2sY/XbuQXEL9dXaQ8bPJlby/1NIt3UXKNSbKe/7DNaD9izhTNcgqzGTNjJzHw2 LIMYLWkh99a83kNfYXbe2jYCq7gRcRGU6sR8VXypl8qD9XfwlDt8zYNvch0r2UR8j9j039RJA swsoW9E19YcdHZWZ6zDPYDE17F+O2LvhnG2m0iigXKs/tfXR1aQQwVA8CYKYnBBiN8K1nowLN kT3fq+EXIUj2CaxGtHj59kNriNYWohumw+cwmiD55TroppJKNzGMd4zj5XAIQPzZUIAfISes3 hFq/I1mv2G/svYQHm0GxWUw4UBycPU9QeWeuogzrQ/8+/lF6UgdCcNu3C1EATXc63PNsY2DC7 KdKTV53 X-Mailman-Approved-At: Mon, 11 Apr 2022 14:57:39 +0200 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org
Hi,
 
I'm currently evaluating the usage of rust in a dPDK application.
 
I wonder if there is other people who have done similar and would like to share experiences.
 
I have seen there is a couple of rust interface projects like capsule-rs.
 
Do you know of blockers why people seem to not be maintaining rust libraries like this one in the long term?

My research sofar has shown:
 
 - rust codegen seems to be quite similar to C
 - rust can generate autovectorized code
 - ffi seems to be very low cost (similar to C++)
 - allocation can be tricky given that there can be panics on allocations
 
 
I would love to hear your thoughts and reasoning.
 
Best regards,
Alexander Oh