Linus Torvalds talks Rust on Linux, his work schedule and life with his M2 MacBook Air (2024)

Table of Contents
See also ZDNET Recommends FAQs
Linus Torvalds talks Rust on Linux, his work schedule and life with his M2 MacBook Air (1)

Dublin, Ireland: I've known Linus Torvalds for decades, but since Covid hit, we haven't had a chance for a face-to-face interview in years. Finally, at 2022's Linux Plumbers Conference, the annual get-together of the world's top Linux developers, we had a chance to talk in person again.

Before the conference, Torvalds had spent six days scuba-diving at Bonaire, an island in the Dutch West Indies. Given the choice, he said he'd "rather be diving than going to conferences." Wouldn't we all?

Torvalds also said that, although he works a lot on the Linux kernel, he's no workaholic:

Really, the reason I can still do it year after year is I can walk away from it. But I don't walk away for long because I get bored. The only time I feel like I have long days and it gets exhausting is at the beginning of a merge. Even then, I try to do all the major stuff in the first week when I can focus.

See also

If you want to know who the real workaholic of the Linux kernel is, Torvalds suggests you look at Greg Kroah-Hartmann, the stable Linux kernel maintainer. "I don't know how he does it," Torvalds confided. "I think he's automating a lot of it, but it's unending, and he does it every week."

Covid, however, had little to no effect on Linux kernel development. Of course, Torvalds has been working from home for years as have many of the top kernel maintainers. The one big change is that for the "first time in years, we have a face-to-face Plumbers and Linux Kernel Maintainer Summit," a round table of the top 20 kernel maintainers.

The other big difference, said Torvalds, is the developers who hadn't been working at home found, by and large, that they liked working from home. Torvalds expects many of them to continue doing exactly that.

That isn't to say there haven't been any changes. Torvalds agreed with Linux kernel developer Jonathan Corbet, who earlier in the day at the nearby Open Source Summit Europe had said that "Instead of lone Linux subsystem maintainers, teams are often now managing subsystems, and it's working well." Torvalds added, "Some subsystems are still being run by one person, but it's getting rare. It's not so much a committee as it tends to be a group of three people who take turns." This takes the load off maintainers, and, as Corbet puts it, helps code maintainers "be a lot happier and less grumpy in general." And no one wants to face a grumpy code maintainer when they're trying to get a code patch passed.

Speaking of grumpy, Torvalds, while not a huge Rust fan per se, is ready to see Rust make it into the Linux kernel:

I already thought we'd have it for this one (Linux kernel 6.0), but clearly, that didn't happen. I'm not gonna say it will make it into 6.1 (Due out in October). But, it's been going on long enough that we just need to merge it because not merging it isn't helping anything. And it is going to happen. Sure, some people still think we might have trouble with it, but if there are problems two years down the road, we can fix them then.

One reason why Rust still hasn't quite made it in yet is some developers are concerned with all the non-standard Rust extensions needed to get it to work in Linux. For example, with the new Rust Linux NVMe driver, more than 70 extensions needed to be made to Rust to get it working.

But, Torvalds said, we've been using exceptions to standard C for decades. "I've been very vocal on saying the standard in this area is crap. And we're going to ignore the standard because the standard is wrong. So the same is going to be true on the Rust side."

As far as he's concerned, the more important part is that the Rust compiler needs to be reliable and stable. One of the issues people have is that GCC Rust is most definitely not reliable or stable yet. So practically speaking, to do Linux Rust work right now, you have to use Clang. But, Torvalds added, "Clang does work, so merging Rust would probably help and not hurt the kernel."

ZDNET Recommends

The best laptops Our recommended models for every use case and platform. Read now

These days, when he's on the road, Torvalds is using an Apple MacBook Air with an M2 processor. On this hot new machine, he runs Fedora Workstation 36. He can't recommend this for mere mortals yet. There was no Fedora port for the ARM-64 M2 processor, so he did it himself. At the moment, the main Linux for M2 is Asahi Linux for Mac, which uses the obscure Pacman packagemanager. Or, as Torvalds put it, "Pacman!? What the hell!" But, he was able to quickly bring it to heel and get Fedora on it.

Of course, it's not perfect yet. For example, the code doesn't support the M2 FPU, so Torvalds can't do 3D graphics, but "I don't need games." Ironically, that also means some GNOME 40 graphical effects, such as the screen dimming, don't work, but "I like it that way, it makes the display more snappy. I may turn those off on my other machines as well."

A trifle more annoying is that Chrome doesn't run on Linux on this platform yet. That's not much of a problem since the Chromium web browser does just fine on it. Except, "I keep my trivial passwords on Chrome Password Manager, so I have to port them over with my smartphone."

However, for what he really does for a living -- patch and compile Linux kernels -- the M2 Air does just fine. Even with only 16 GB of RAM and a 256GB SSD it works well. Of course, it runs even faster on his homebrew Linux workstation, but "I only brought my Mac Air on this trip. That's all I need."

Linux software and Mac hardware are a match made in heaven. Or, a match made by Torvalds that makes him happy anyway.

Related Stories:

  • Linus Torvalds is cautiously optimistic about bringing Rust into Linux kernel's next release
  • Rust takes a major step forward as Linux's second official language
  • Linus Torvalds on where Rust will fit into Linux
Linus Torvalds talks Rust on Linux, his work schedule and life with his M2 MacBook Air (2024)

FAQs

What does Linus Torvalds think of Mac? ›

Torvalds explained he has "fairly fond memories of the 11" Macbook Air (I think 4,1) that I used about a decade ago (but moved away from because it took Apple too long to fix the screen - and by the time they did, I'd moved on to better laptops, and Apple had moved on to make Linux less convenient)."

Which laptop does Linus Torvalds use? ›

These days, when he's on the road, Torvalds is using an Apple MacBook Air with an M2 processor. On this hot new machine, he runs Fedora Workstation 36. He can't recommend this for mere mortals yet. There was no Fedora port for the ARM-64 M2 processor, so he did it himself.

Is Linux switching to Rust? ›

In October 2022, a pull request for accepting the implementation for Rust for Linux was approved by Torvalds. As of Linux 6.1, support was intentionally left minimal in order to allow developers to test the feature.

Does Rust run faster on Linux? ›

On Linux the program halts in about 40 minutes, while on Windows it took 2+ hours. On both OS's I've run the code in release mode and without other flags or optimizations.

Does Rust work on Linux yet? ›

The game actually works perfectly on Linux/Proton, it's just that you can't connect to EAC-enabled servers (which is nearly all of them). Originally posted by Nightcore: Game used to run native on Linux without proton. Then helk got irritated people would report bugs for the Linux build.

What is the best Linux distro according to Linus Torvalds? ›

25. Which Linux distribution does Linus Torvalds install on all of his home computers? Show me the answer! Linus uses Fedora Linux on all the computers in his household.

What car does Linus Torvalds drive? ›

The license plate on Linus Torvalds' Mercedes SLK convertible says it all. The frame running around the outside of the plate reads "Mr.

What PC does Linus have? ›

An i7 5960X, a maxwell gtx titan x, 32gb dominator platinum, and an intel 750 series nvme pcie ssd all watercooled and in a server rack, and his monitor is a acer predator x34.

Will Rust replace Python? ›

Rust will not replace Python because it is faster. More Python libraries will be written in rust maybe, like polars or ruff, which is totally fine. But they will be called using Python because it is simpler and faster to code. That's why numpy is also so popular.

Will Linux eventually replace Windows? ›

It already has, in the server world and many others fields. Even Microsoft themselves use a Linux distro for their Azure servers. If you are talking specifically about Linux on Desktop/Laptop, then the answer is 'It could, but it's not going to. Not in the near future at least'.

What is faster, Rust or C++? ›

When comparing, Rust performance vs C++ is often cited as being faster because of its unique components. More often than not, their speed depends on the program being developed, the compiler, and the quality of the code. Thus, if your product written in C++ performs badly, poor code may be the culprit.

What does Linus Torvalds think of Java? ›

I thought it was unsonicable. For his use case it is. But that's like asking a race car mechanic for his opinion on your design for a 40 ton earth mover.

Is the Linux kernel being rewritten in Rust? ›

"There are real technical reasons like memory safety and why Rust is good to get in the kernel." Mind you, no one is going to be rewriting the entire 30 or so million lines of the Linux kernel into Rust.

What is Linus Torvalds bad behavior? ›

He is known for his angry outbursts. Mild swearing and F-words drops in the Linux Kernel mailing list when he is unhappy with a kernel patch. He has even defended this behavior in the past. But it seems that he has been forced to introspect and improve his 'unprofessional' behavior.

What programming languages does Linus Torvalds use? ›

He prefers C over C++ for multiple reasons, and some of them are very valid. He for example believes that language features of C++ that allow for various code abstractions and simplifications, such as ability to hide complex operations and functions behind simple mathematical operators (via operator…

Top Articles
What are the Three Primary Sources of Health Insurance?
How to Find the Best Microcap Stocks in India
Jordanbush Only Fans
Methstreams Boxing Stream
Canary im Test: Ein All-in-One Überwachungssystem? - HouseControllers
Jonathon Kinchen Net Worth
360 Training Alcohol Final Exam Answers
Bloxburg Image Ids
Craigslist - Pets for Sale or Adoption in Zeeland, MI
Shaniki Hernandez Cam
Tugboat Information
Nexus Crossword Puzzle Solver
Synq3 Reviews
TS-Optics ToupTek Color Astro Camera 2600CP Sony IMX571 Sensor D=28.3 mm-TS2600CP
Grace Caroline Deepfake
Tracking Your Shipments with Maher Terminal
800-695-2780
Craigslist Panama City Fl
Ivegore Machete Mutolation
Craigslist Northfield Vt
Exl8000 Generator Battery
Reviews over Supersaver - Opiness - Spreekt uit ervaring
Ihub Fnma Message Board
Everything To Know About N Scale Model Trains - My Hobby Models
The 15 Best Sites to Watch Movies for Free (Legally!)
Ltg Speech Copy Paste
10 Best Places to Go and Things to Know for a Trip to the Hickory M...
TJ Maxx‘s Top 12 Competitors: An Expert Analysis - Marketing Scoop
950 Sqft 2 BHK Villa for sale in Devi Redhills Sirinium | Red Hills, Chennai | Property ID - 15334774
Gyeon Jahee
Desirulez.tv
Garrison Blacksmith's Bench
Build-A-Team: Putting together the best Cathedral basketball team
Space Marine 2 Error Code 4: Connection Lost [Solved]
Dollar Tree's 1,000 store closure tells the perils of poor acquisitions
Legit Ticket Sites - Seatgeek vs Stubhub [Fees, Customer Service, Security]
Gary Lezak Annual Salary
F9 2385
How I Passed the AZ-900 Microsoft Azure Fundamentals Exam
Content Page
Satucket Lectionary
Tinfoil Unable To Start Software 2022
Hanco*ck County Ms Busted Newspaper
Southwest Airlines Departures Atlanta
Best Suv In 2010
Stephen Dilbeck, The First Hicks Baby: 5 Fast Facts You Need to Know
Deviantart Rwby
Provincial Freeman (Toronto and Chatham, ON: Mary Ann Shadd Cary (October 9, 1823 – June 5, 1893)), November 3, 1855, p. 1
Mazda 3 Depreciation
Latest Posts
Article information

Author: Frankie Dare

Last Updated:

Views: 6199

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.