News: 0001521978

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 6.14 With Rust: "We Are Almost At The 'Write A Real Driver In Rust' Stage Now"

([Linux Kernel] 5 Hours Ago Linux 6.14 Rust)


Greg Kroah-Hartman today sent out the pull request of all the driver core updates for Linux 6.14, which ends up being a big deal for those interested in the prospects of Rust drivers for the Linux kernel.

With the Linux 6.13 kernel, Greg Kroah-Hartman described the level of Rust support as [1]a "tipping point" for Rust drivers with more of the Rust infrastructure having been merged. Now for the Linux 6.14 kernel, Greg describes the state of the Rust driver possibilities as " almost at the "write a real driver in rust" stage now, depending on what you want to do. "

As written about last month on Phoronix, as part of today's driver core pull request is [2]a lot of the PCI / platform device driver enablement for Rust code . Greg described the Rust driver core work in [3]the pull request as:

- driver core bindings for PCI, platform, OF, and some i/o functions. We are almost at the "write a real driver in rust" stage now, depending on what you want to do.

- misc device rust bindings and a sample driver to show how to use them

Linus Torvalds [4]merged this code alongside other driver core improvements today for the Linux 6.14 kernel.

We'll see what Linux 6.15 ends up holding in the Rust driver world...



[1] https://www.phoronix.com/news/Linux-6.13-char-misc-More-Rust

[2] https://www.phoronix.com/news/Linux-6.14-Rust-PCI-Device-Drv

[3] https://lore.kernel.org/lkml/Z5kokYUDYEO2Cknj@kroah.com/

[4] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2ab002c755bfa88777e3f2db884d531f3010736c



bosslog

Quackdoc

ayumu

ZenoArrow

mdedetrich

fotomar

TheMightyBuzzard

ZenoArrow

CommunityMember

Actual Snippet of Windows Source Code! Honest!

NOTE: The following snippet of the Windows 95 source code was sent to us via
'unofficial' channels. Don't tell anyone you saw this! We really don't
feel like being visited by the Microsoft Intellectual Property Police.

void BusyLoop()
/* Do nothing loop to kill CPU cycles; added at the
request of Intel */
{
DisplayRandomSubliminalMessage();
for( int i = 0; i < BIG_INT; i++ )
for( int j = 0; j < BIG_INT; j++ )
for( int k = 0; k < BIG_INT; k++ )
for( int l = 0; l < BIG_INT; l++ )
if( STACK_SPACE_PERCENTAGE_FREE > .05 )
/* There's plenty of stack space left -- let's
eat up some more CPU cycles, recursively! */
BusyLoop();
}