Menu
Sign In Pricing Add Podcast
Podcast Image

Rust in Production

Volvo with Julius Gustavsson

Thu, 23 Jan 2025

Description

The car industry is not known for its rapid adoption of new technologies. Therefore, it's even more exciting to see a company like Volvo Cars embracing Rust for core components of their software stack.We talked to Julius Gustavsson, System Architect at Volvo Cars, about the use of Rust for their Electronic Control Units (ECUs) in Volvo's EX90 and Polestar 3 models and how they are building a Rust ecosystem within the company.

Audio
Featured in this Episode
Transcription

Full Episode

2.088 - 28.148 Matthias Endler

It's Rostium Production, a podcast about companies who use Rost to shape the future of infrastructure. I'm your host, Matthias Endler from Corot, and today we talk to Julius Gustafsson from Volvo about putting the good kind of Rost into cars. Julius, thanks for being a guest. Thanks for taking the time. Can you introduce yourself and Volvo, the company you work for?

0

29.224 - 53.699 Julius Gustavsson

I'm Julius Gustafsson, and I work for Volvo Cars, and I am the main architect and team lead for the LPA project at Volvo Cars. And the LPA, which stands for the Low Power Processor, is the first ECU in the automotive industry, at least as far as we know, that is fully written in Rust. And it's rolling off the production line as we speak.

0

55.071 - 76.017 Matthias Endler

The first time I heard about this project was even a few years ago when we were at a conference. I can't even remember which one. But someone mentioned that Volvo was working with Rust. And by Rust, we mean Rust, the programming language, of course, not Rust, the oxidation process.

0

76.638 - 103.437 Matthias Endler

But it was way back in the day, and I didn't even know what parts of it were public or if that was a separate vendor. Now, take us back to maybe 2018 or so when this project started. What was the situation with Rust back then? What was the situation, especially with embedded Rust? And how did you even think about using Rust at Volvo?

0

104.864 - 115.603 Julius Gustavsson

Yeah, so I joined Volvo in 2017, and that's about the same time as this Spa 2 project started. And right...

117.745 - 142.423 Julius Gustavsson

basically that when i was joining i was also discovering or i was i'd already discovered rust a couple years back but i was getting more and more certain that this was something that that we needed to look into and so we started out with a few products when we were like in this very very initial stages of that project we were doing all kinds of proof of concepts and

143.504 - 168.982 Julius Gustavsson

And the first thing I did there to test out Rust was to, since I came from an Android background, so I had, I knew the ins and outs of the Android system. So I was able to build an Android hull, an automotive hull in Android, was able to get that to build and link and do all kinds of shenanigans to get that to work because the build system didn't really support it. But yeah.

169.744 - 197.882 Julius Gustavsson

I was able to work around that. So this Android HAL, basically, the point of it was to use the Android UI to control the AC or the fans in the car. And we had already built this small system that was running on a separate, like a Raspberry Pi, that would actually send the CAN signals to the fan. So we needed to communicate with that, to send commands to that system, basically.

198.602 - 207.33 Julius Gustavsson

And so I used, or I created a, how that actually communicated with that over gRPC, if I remember correctly.

Comments

There are no comments yet.

Please log in to write the first comment.