Most Viewed Content:

Cygnus space cargo spacecraft arrives at International Space Station with only half of its solar array

NASA astronaut Nicole Mann, backed up by NASA astronaut...

Toyota responds to continued production cuts in the next 3 months: easing pressure on dealer earnings

In response to the news that "production will continue...

India’s censorship body gave power to remove pirated Movies from platforms

India’s Ministry of Information and Broadcasting announced that its...

Upstream Merger on the Horizon: Developers Dramatically Streamline Rust for Linux v9 Patch Volumes

The Rust for Linux v8 patch, released earlier this week, introduced a number of abstractions and extended Rust programming language integration to more parts of the kernel. v8, Phoronix noted, had 43.6k lines of code, while today’s new “Rust for Linux v9 “, which introduces only 12.5k new lines of code.

Rust is expected to complement the C language as a new language to support Linux kernel driver development.

Rust for Linux v9 is much smaller than previous patches due to the removal of many additional features and integrations. By sticking to a more initial “minimalist route”, it is expected to bring more positive changes to the mainline kernel.

In addition to enhanced integration and build transactions, it allows for specific patches to various abstractions and subsystems, drawing more people into the code review and feedback process. Lead developer Miguel Ojeda commented.

"As a 'lite' version of the v8 patch, v9 provides enough support for compiling a minimal Rust kernel module - to be the first to get 'core' support and to start gradually 'upstreaming' the rest.

The kernel module can create a 'vector' as a continuous, growable array type that can push some numbers and print them to the kernel log using the 'pr_info!' macro when unloaded."

The new patch series can also be made smaller by removing some of its content, and so far it seems to have struck a good balance.

"This resulted in 3% kernel crate retention (reduced to 500 lines), 60% alloc and adapt alloc commits (100 lines), and an overall reduction from 40k to 13k lines.
Although most of the code has been in linux-next for several months, we had to make minor changes to reduce some of the content, and finally we welcome your positive feedback on whether this option meets your expectations."

Phoronix notes that with the significantly leaner patch volume of v9, it is expected to be easier to get a mainline license than before.

Linus Torvalds has been hoping to complete the merger as soon as possible (next week’s Linux 6.0 merger window) and will follow up to see if the work has been good enough.

Latest

Starting from 48,900, Geely Panda Karting officially starts pre-sale

Geely Panda Karting officially started pre-sale. The pre-sale price...

Ford: Expand charging network, fuel/ hybrid/ pure electric in parallel

Recently, Ford released the company's comprehensive annual report for...

Chery’s two new cars are exposed, targeting overseas markets

Recently, some media exposed the actual cars of two...

New Trumpchi Shadow Leopard to launch on May 1, upgraded performance rims

Recently, we learned from the official that the 2024...

Newsletter

Don't miss

Starting from 48,900, Geely Panda Karting officially starts pre-sale

Geely Panda Karting officially started pre-sale. The pre-sale price...

Ford: Expand charging network, fuel/ hybrid/ pure electric in parallel

Recently, Ford released the company's comprehensive annual report for...

Chery’s two new cars are exposed, targeting overseas markets

Recently, some media exposed the actual cars of two...

New Trumpchi Shadow Leopard to launch on May 1, upgraded performance rims

Recently, we learned from the official that the 2024...

Samsung Galaxy S25 Ultra expected to feature 5000mAh + 45W Combo

Technology media WccFtech recently reported that Samsung will not...
Threza Gabriel
Threza Gabrielhttps://www.techgoing.com
Threza Gabriel is a news writer at TechGoing. TechGoing is a global tech media to brings you the latest technology stories, including smartphones, electric vehicles, smart home devices, gaming, wearable gadgets, and all tech trending.

Ford: Expand charging network, fuel/ hybrid/ pure electric in parallel

Recently, Ford released the company's comprehensive annual report for 2024. Ford will be committed to expanding its electric vehicle product lineup and charging network...

Mercedes-Benz Shifts Focus from Apple CarPlay to Proprietary Car System

Apple announced a new version of CarPlay at WWDC in June 2022, claiming that "CarPlay will no longer be a simple projection of the...

CATL’s long-life battery for loaders is delivered for the first time

The first roll-off ceremony of CATL's new generation of long-life battery electric loaders was held on April 28 at China Lonking's headquarters in Longyan,...