https://www.phoronix.com/news/Linux-Rust-Sockets-Patches Phoronix * Articles & Reviews * News Archive * Forums * Premium * Categories * Computers * Display Drivers * Graphics Cards * Linux Gaming * Memory * Motherboards * Processors * Software * Storage * Operating Systems * Peripherals * Close * * Articles & Reviews * News Archive * Forums * Premium * Contact * Categories Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals * [ ] [Search] Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 19+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium. Rust Abstractions Posted For Sockets & Other Fundamental Network Bits Written by Michael Larabel in Linux Networking on 14 August 2023 at 09:52 AM EDT. Add A Comment LINUX NETWORKING While Linux 6.1 added the initial Rust infrastructure as an alternative programming language for writing new kernel modules, so far as of Linux 6.5 much of the upstreaming effort has been around adding new abstractions and supporting additional subsystems for making the Rust capabilities in the kernel more complete. The latest patch series is working on adding Rust abstractions for networking sockets and other fundamental networking bits. So far no major Rust-written drivers have yet to be merged to the mainline kernel but there are various Rust drivers in development like the work-in-progress Rust'ed Apple DRM driver for supporting the graphics on Apple Silicon hardware. Meanwhile Michele Dalle Rive sent out a patch series today working out the Rust Socket abstractions for further extending the language's capabilities within the kernel. Rust for Linux kernel The set of seven patches provide the necessary code around Socket address wrappers, a socket wrapper itself, supporting socket flags and enums, and then TCP and UDP specific abstractions over the Rust Socket structure. The code in its current form is being treated as a "request for comments" as more of the functionality gets ironed out and ensuring the abstracted interfaces are in appropriate shape for developers. Those interested in the ongoing Rust embrace within the Linux kernel can find the socket abstraction patch series on the kernel mailing list. Add A Comment Tweet [INS::INS] Related News Intel's ConnMan 1.42 Released With Fixes, New Time Zone Options Ultra Ethernet Consortium Started By LF, Intel, AMD, Meta, HPE & Others Linux 6.5 Continues Making Preparations For WiFi 7, Enabling New Hardware Experimental Patches For Rust-Written Linux Network Drivers Linux 6.4 Has Many Networking Changes From A New Performance Tunable To More WiFi 7 Cloudflare Outlines How They Rewrote An Nginx C Module In Rust About The Author Michael Larabel Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com. Popular News This Week Linus Torvalds Reviews The Bcachefs File-System Code Linux Decides To Disable RNG On All AMD fTPMs AMD "INCEPTION" CPU Vulnerability Disclosed Linux 6.6 To Finish Gutting Wireless USB & UWB Google's BBRv3 TCP Congestion Control Showing Great Results, Will Be Upstreamed To Linux Intel Gets Hogwarts Legacy Running On Linux Driver By Pretending Not To Be Intel Graphics FEX-Emu 2308 Continues Striving To Be "The Greatest x86/x86-64 Emulator On Linux" Haiku OS Support Upstreamed Into GCC Compiler Latest Linux News Intel Making Improvements For CPU Microcode Updating Under Linux Go 2 For "Breaking With The Past" Will Never Come IO_uring Adding Support For Vectored FUTEX Waits In Linux 6.6 Rust Abstractions Posted For Sockets & Other Fundamental Network Bits Linux 6.6 Bringing Initial Support For Intel Lunar Lake's VPU4 Linux Reworks AMD Zen 1 Divide-By-Zero Mitigation After Original Fix Inadequate Linux 6.5-rc6 Released With Latest CPU Security Mitigations & Bug Fixes Casefolding For Bcachefs File-System Posted RADV Ray-Tracing To Become Much Faster With New Driver Code Glibc log2 Function Up To 69% Faster Thanks To FMA Show Your Support, Go Premium Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations. Latest Featured Articles Initial Benchmarks Of The "NVK" Open-Source NVIDIA Vulkan Driver NVIDIA GeForce vs. AMD Radeon Linux Gaming Performance For August 2023 Initial Benchmarks Of The Intel Downfall Mitigation Performance Impact Intel DOWNFALL: New Vulnerability Affecting AVX2/AVX-512 With Big Performance Implications How The Radeon Professional Graphics Performance Changed Over 13 Years Support Phoronix The mission at Phoronix since 2004 has centered around enriching the Linux hardware experience. In addition to supporting our site through advertisements, you can help by subscribing to Phoronix Premium. You can also contribute to Phoronix through a PayPal tip or tip via Stripe. Phoronix Media --------------------------------------------------------------------- * Contact * Michael Larabel * OpenBenchmarking.org Phoronix Premium --------------------------------------------------------------------- * Support Phoronix * While Having Ad-Free Browsing, * Single-Page Article Viewing Share --------------------------------------------------------------------- * Facebook * Twitter * Legal Disclaimer, Privacy Policy, Cookies | Contact * Copyright (c) 2004 - 2023 by Phoronix Media. * All trademarks used are properties of their respective owners. All rights reserved.