Ubuntu parent Canonical is "funding a [3 year] University of Bristol PhD to translate large C repos into safe, equivalent Rust".More from The Lunduke Journal:https://lunduke.com/
This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit lunduke.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Ubuntu parent company Canonical is funding a three year University of Bristol PhD project on translating large C repositories, basically large C coded projects into Rust. They're literally tripling. They're not just doubling. They're not really even tripling. They're quadrupling down on let's rewrite everything in Rust. Yeah, okay. They've swapped out sudo from seed or a Rust clone.
SPEAKER_00Okay, great. The GNU core utilities, they've swapped it out with Rust clones that... Are not even really fully baked yet and not really fully functional. And now they're going full on. And they made statements. The vice president of engineering has made statements along the lines of stop coding in this language. Stop coding in Python. Stop coding. Rust is the end all be all. Why? I don't know. Memory safety or something? They're still not really pointing to any actual bugs that are causing people problems.
SPEAKER_00Why? They need to rewrite absolutely everything in Rust, but they're going forward with it. Let me just read a little bit to you from this because I think it's utterly preposterous. This is from the VP of Engineering. His name is John Seeger. There we go. Ubuntu's VP of Engineering. Quote, I have written before about the role that Rust will play in Ubuntu's future. The case for Rust in 2026 is clear. It gives systems programmers more ergonomic control over performance
SPEAKER_00and resource use while eliminating many classes of memory safety defects, making it especially useful for software operating at important security boundaries. I gotta stop you for a second. That's what I like to call hogwash. That is bologna wrapped in a bunch of pork poop. That doesn't make any sense at all. On the surface, it sounds like it would. Okay, well, yes, we want security and we want reliability and we want,
SPEAKER_00no, we don't want memory safety defects. Those sound awful. However, bear in mind that this same exact VP of Engineering made the decision to toss out All of the well-tested C code that was proven to be incredibly secure and has replaced it with new Rust code that they proved with their own research to be significantly less secure. So much so that they've been forcing out the actual releases before all
SPEAKER_00of those security bugs that they already found were fixed in that brand new Rust code. So clearly, the purpose of this is not security. It is not stability. It is not performance. And it is not bugs that users are reporting. It's none of those things. It's something else. You know that because of their own statements and actions. I continue here. The harder question is what to do about the enormous amount of mature C code
SPEAKER_00that already exists. Established code bases often contain years of bug fixes, compatibility decisions, operational knowledge, and hard-won performance optimization. Stop. VP of Ubuntu, stop for a minute now. You've already sold me. Let's go ahead and keep that C code. It sounds great. Look at how great it sounds. There's years of bug fixes,
SPEAKER_00those compatibility decisions, that operational knowledge, that hard-won performance optimization. Yeah, keep it all. You're right, VP of Engineering at Ubuntu. We should keep the C code. That's what's funny because he's clearly making the case to keep the C code while trying to make the case to swap it out for Rust. He's like, what are we going to do about all of that C code? All of that dirty mean C code. It's just working too well. Gosh darn it. We got to toss it out here.
SPEAKER_00So that is the problem, he says, behind a new research partnership between Canonical and the University of Bristol in the United Kingdom. Canonical is funding a three-year PhD project with matched support from the UK Research and Innovation to investigate increasing the rigor of automated C to Rust translations. Oh yes, we just took this well-maintained C code. Let's change it to Rust and we're going to do it rigorously.
SPEAKER_00There's going to be so much rigor in this translation over to Rust, you're going to be amazed at the amount of rigor. The project will be led by Professor Meng Wang, Dr. Christina David, and myself as co-supervisors. The goal is to build an end-to-end platform. It's got to be end-to-end because you don't want it to not have an end. You don't want it to be an endless platform, like a platform that's just a bit of the middle stuff. Goodness gracious. Capable of translating repositories comprising hundreds of thousands of lines of sea
SPEAKER_00to safe behaviorally correct and maintainable rust. You've got to have correct behavior. If you don't have correct behavior, it Just unacceptable. You must say this piece of software was rewritten in Rust five times before you can tell anyone what the piece of software does. Otherwise, that's blasphemy. That's just pure blasphemy. Oh, my heavens. So I was wondering, how much does that cost? What are we talking about here? Because throughout all the announcements and all the details that Ubuntu
SPEAKER_00and Canonical put out, they're saying, oh, we're sponsoring this PhD project, but they don't say how much it's costing them to sponsor it. Well, I went to the Bristol website. All right, the bristol.ac.uk. And in the physics department, they have on their webpage, they say that you can sponsor a PhD. Quote, our research is grounded in the work of our internationally renowned academics and a large Okay, so that's like four or five dollars in real money. I don't know. I don't know how much that translates to.
SPEAKER_00So between 50,000 and 100,000 pounds, it's no small chunk of change, but it's also not millions and millions of dollars either. I went looking around and a couple of different things listed the numbers that were a bit higher than that, more towards about the 200,000 pound mark. But suffice to say, it's somewhere between 50 and 200,000. There we go. We don't really know because Canonical isn't really telling anyone. What's fascinating about all this is how they're just throwing good money after bad on trying to force...
SPEAKER_00Rust clones to be the future of Ubuntu Linux, basically. It's funny because the Rust Core Util replacement, known as UUtils, one of the developers described it as, quote, I don't even have words because of dealing with an absurd number of edge cases and trying to port things over to the Rust-based U-Utils. It requires a reroute. Right. I've attempted 10 times since last October.
SPEAKER_00GNU timeout is just absurdly full of undocumented edge cases, and we don't even cover half of them in the Rust-based versions. Our actual implementation is so subpar I don't even have words. I'm just frustrated with UU timeout, the Rust-based clone of timeout, to the point of absolute exhaustion, et cetera, et cetera, et cetera. And they've been pushing this really hard at Ubuntu and Canonical, trying to make it harder and harder and harder to use non-Rust things.
SPEAKER_00You want to install build essentials? Well, you're going to force the UUtils Rust clones of the GNU Core Utils to overwrite the C Core Utils. You know, just by installing build essentials. I mean, this sort of thing has been happening increasingly. It all seems a bit connected. So realistically, the Linux kernel has been moving increasingly towards Rust usage. Let's say, okay, all right, let's just take it at face value.
SPEAKER_00Let's say that the engineers decided that that's a good path forward from a technical perspective. Okay, great. Ubuntu has been shoving unfinished Rust clones of software into their distribution almost faster than people can dream them up. But what's really interesting here is this calls to mind another little story that cropped up over the last week or so. Where people are pointing out that, this is actually pointed out by Microsoft,
SPEAKER_00that Ubuntu is seeing faster growth inside of the Microsoft subsystem, the Windows subsystem for Linux. Then it is standalone Ubuntu, right? So Ubuntu is seeing more growth inside of Microsoft Windows than by itself. And that's fascinating to me. I mean, it's not 100% surprising. I see people installing Linux under the Windows subsystem for Linux.
SPEAKER_00That's proven to be very successful for a lot of people. And it doesn't terribly surprise me, but it's also worth noting that while And while all this is going on, Microsoft is also adopting very heavily the Rust CoreUtil clones. They specifically, specifically forked the UUtils, the Rust-based CoreUtil clones. So they're also shipping the broken Rust-based clones, just like Ubuntu is.
SPEAKER_00I find this all to be just too utterly fascinating how many major corporations are really pushing this hard. And a lot of people suggest that maybe it's to push away the GPL because all of these Rust clones are not released under the GPL. They're all usually under the MIT license. Which is a fine license, it's just a different license. And so I think a lot of people are thinking, hey, is this why?
SPEAKER_00Is it more of a cultural thing or a religious thing? I think there's a pretty good case to be made for that as well. Regardless, it's all happening a lot. And it just seems like almost every week we wake up to see there's yet another story of pushing forward with throwing away the working code and replacing it with something that's not yet fully tested. Using a language that's not fully finished yet, and a compiler on top of that, that A, is not yet finalized,
SPEAKER_00and B, is not running on all of the platforms that Linux itself runs on. Lots of problems, lots and lots of issues, but clearly Ubuntu and Canonical are all in. Feet first, head first, head over heels, whatever, they're all in and they're spending money to research how to do it even faster. Go to lunduke.com and scroll down the page. Oh my word. The best screenshots on planet Earth are at lunduke.com and they're filled with names.
SPEAKER_00Whose names are those? I don't know. Whoever it is though, I'm Probably pretty good smelling and fairly attractive. There's some places you can even get your own names on there. Pretty fancy. Thank you to all the subscribers for making it possible to do the work I do. Truly, couldn't do this without you. And with that, ladies and gentlemen, boys and girls, nerds and nerdettes, across the inner tubes, I do declare, end broadcast.
Debian is "much more of a political movement than a technological one."The Lunduke Journal & LCOS:https://lunduke.com/ This is a public episode. If you'd like to discuss this with other subscribers or get access to...
But don't worry. It's Rust. So it's MeMoRY sAfE.The Lunduke Journal & LCOS:https://lunduke.com/ This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit...
“This policy works in the same way as the Code of Conduct: violations will first result in a warning, and repeated violations may result in a ban.”The Lunduke Journal & LCOS:https://lunduke.com/ This is a public...
Plus: Red Hat Dev says AI users are "Nazis" who "voted for Republicans" and are "unsafe to have around".The Lunduke Journal & LCOS:https://lunduke.com/ This is a public episode. If you'd like to discuss this with other...
Don't get too excited just yet: "RISC-V is not yet drop-in and boot-up ready for PureOS. Most peripherals are not supported in mainline Linux."The Lunduke Journal & LCOS:https://lunduke.com/ This is a public episode. If...