GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • All Security
  • Cyber-crime
  • Patches
  • Research
  • CSO
  • All Off-Prem
  • Edge and IoT
  • Channel
  • PaaS and IaaS
  • SaaS
  • All On-Prem
  • Systems
  • Storage
  • Networks

This view

  • Original page
  • New address

GeezerVison is showing www.theregister.com — Linux 6.1: Rust to hit mainline kernel

OSes

Linux 6.1: Rust to hit mainline kernel

New language will be official, probably within a couple of months

Liam Proven Liam Proven
Published wed 5 Oct 2022 // 16:02 UTC
Make us preferred on Google

The first big change for the forthcoming Linux kernel 6.1 is in… and it's a big one.

Kees Cook made the pull request and Linus Torvalds accepted it earlier this week, meaning that Linux 6.1 will soon have direct support for Rust code, as teased earlier this week. The initial support is in the region of 12-and-a-half thousand lines of code.

No, this doesn't mean that the kernel will start to be rewritten in Rust. There are already other Rust operating system kernels in development, such as Redox OS, and Linux is not, practically speaking, going to become one of them.

REG AD

What's interesting is that it's Rust that has made it. There are multiple languages vying to be successors to C, with C-like syntax but which extend C with new features. C++ was one of the first, which adds object oriented programming to C.

REG AD

Many Unix and Linux traditionalists frown upon C++, but it's enjoyed wide success despite its great size and complexity. KDE, the Plasma desktop, and the many apps in the KDE Gear collection are predominantly built in C++, which has aided their adaptation to the safety-enhanced CHERI processor architecture. The Blink engine behind the Chrome browser is based on Apple's WebKit engine, which in turn is based on KDE's KHTML, making it by far the most widely used code from KDE.

C++ has also been used in multiple successful OS projects: Psion's EPOC32, which evolved into the Symbian smartphone OS, as well as BeOS and Haiku.

C++, however, is famed for its size and complexity, which has inspired multiple successors which try to retain some of its power, such as OOPS support, while being simpler. Apple's Objective-C replaces C++'s OOPS style, inherited from Simula, with Smalltalk-style OOPS. Google's Go is related to Alef, from the Plan 9 OS, and Limbo, the systems programming language of Inferno, the last descendant of the original UNIX project. The D Language was created by Walter Bright, who wrote Zortech C++ (later sold as Symantec C++), the first ever compiler to turn C++ source into native object code.

MORE CONTEXT

  • Linux kernel 6.0 debuts, Linus Torvalds teases 'core new things' coming in version 6.1

  • The open internet repels its most insidious attackers. They'll return

  • Is it time to retire C and C++ for Rust in new programs?

  • Rust is eating into our systems, and it's a good thing

All improved upon C in various ways, but none has won the approval of the kernel team. Indeed, writing about Rust always quickly summons fervent supporters in a way that none of the others do – and doubtless this story will, too. It did when we previously wrote about the expected support that was mentioned in Torvalds' Open Source Summit keynote. Anything less than passionate support for Rust, or any kind of criticism, is typically met with savage criticism.

Previously, Rust advocates have told us that its interoperability with C code is one of its core strengths. However, the latest version of Rust still can't be compiled with GCC, and the Clang compiler that does support Rust only has first-class support for x86-64 and AArch64.

So, for now, this could be a limiting factor: if a driver is implemented in Rust, that could spell limited support for the relevant hardware (or filesystem or whatever) for other processor architectures. Saying that, though, a likely consequence will be rapid improvement in Rust's compiler support – both in other compilers, and quite likely in Clang and LLVM's target support too. ®

rust linux software oses
Make us preferred on Google
REG AD

AWS distills its cloud into a local emulator that runs on your PC

Hyperscale meets micro-computing by offering APIs to test your apps

Disgraced former CA eMudhra blames buggy script for hopelessly weak certificates

Couldn’t get the hardware it needed to generate certs, so tried to code a workaround

From expertise to intelligence: NISCO deploys world's first swarm-intelligence steel model at scale

PARTNER CONTENT: 300+ AI applications delivering surges in core metrics and annual cost reduction of over CNY100m

Russian cloud Yandex says drone attacks on its datacenters caused data loss

Now enables backup by default and hints a little on-prem infra never hurt anyone

OPINION

AI echo chambers and sanity in tech leadership: Three case studies

Altman, Torvalds, Yen. One has got his head screwed on. The others could do with some grounding

US bit barn boom sees energy needs grow 10x as fast as grid capacity

Operators face longer connection waits and a growing need to bring their own electricity

TOP STORIES

  • Microsoft teaches schools that free email was just a phase

  • British fintech Revolut slashes AI coding costs 10x by cutting out Claude and going self-hosted

  • Uber says it alone can make robotaxis pay, hours after Waymo quit its app

  • Smart meters to cost the UK billions: 2G switch-off means replacing 12-13 million

  • ON CALL

    Hospital gave very sick doctor a special PC for his very personal use

  • VMware returns to low-end server virtualization with 'vSphere Express'

AI

  • To thwart reverse engineering by agents, dev proposes blinding them

    A poke in the AI with a sharp stick

  • AMD winds up Zen 6 cores for faster clock speeds

    Chips boast up to 256 cores, clocks up to 5.3 GHz, and IPC gains of 20 to 31 percent, just not all on the same SKU

  • A closer look at Verano, AMD's first step toward a Zen-based superchip to rival Nvidia's Vera Rubin

    Cores, clocks, memory, and interconnects all perfectly balanced for a singular mission: keeping instinct fed.

  • Fireworks AI gets burned twice as customer data exposure widens

    Inference biz pins latest breach on cloud provider and LLMJacking miscreants

  • Microsoft's Azure Linux gets 470-plus security fixes in one almighty patching session

    A mountain of CVEs, a certificate cleanup, and yet more work for Microsoft's patching teams

Infosec

  • Security

    Russians are posing as Signal support to launch phishing attacks

    PLUS: US takes down Iranian propaganda sites; Marketing company asks 'Why Do We Have Your Information?' And more!

  • Security

    Microsoft patches failed to fix on-prem SharePoint, which is now under zero-day attack

    PLUS: China upgrades smartphone surveillance tools; Ring eases anti-snooping stance; and more

  • Black Hat and DEF CON

    DEF CON Franklin project enlists hackers to harden critical infrastructure

    Voting village reports have been so successful, says Jeff Moss, that the whole of DEF CON will now be included

  • Security

    EQT buys majority share in Swiss cybersecurity biz Acronis

    Went at equivalent of $3.5B+ valuation for entire firm, though portion sold not specified

  • Malware Month

    Ten years since the first corp ransomware, Mikko Hyppönen sees no end in sight

    On the plus side, infosec's a good bet for a long, stable career

FOSS

  • Crowd fave Linux Mint update approaches, fresh from autumn release of Cinnamon desktop

    Mint 27 to land before Christmas, with stable Wayland display upgrades, as punters try out Cinnamon 6.8

  • openSUSE Leap 16.1 gives Linux users the right to remain immutable

    One installer now offers conventional and read-only systems as separate Micro distro bows out

  • Achieving nirvana: Enlightenment 0.28 hits the desktop

    Very nearly 30something environment gets spruced up… and there's a new Trinity, too

  • Architect creates open source replacement for VM migration tool VMware has hidden

    OpenVDDK is reportedly already being used in production, at scale

  • AlpineBSD announced – an AI-free FOSS OS

    Combining the NetBSD kernel with the Alpine Linux userland

  • Ubuntu 27.04 may bring a preview of the long-awaited Core Desktop

    Canonical has a long way to catch up, but it knows who it's chasing

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.