Conversation

Jonathan ‘theJPster’ Pallant

Random commenters: No OnE iS uSiNg RuSt In PrOdUcTiOn

Volvo: Actually, the low power ECU in the EX90 and Polestar 3 shipping today are written in Rust.

Thank you to Tweede Golf for publishing this. I know there's so much more going on that I can't talk about, so it's great to get these kinds of quotes out into the public realm.

https://tweedegolf.nl/en/blog/137/rust-is-rolling-off-the-volvo-assembly-line

2
1
2

@thejpster > It turned out the low-power processor was a perfect fit for using Rust! It was not classified as a safety-critical component and it was an Arm Cortex-M processor

that seems... kinda insane?

0
0
0
@thejpster Why anyone would even care if any possible tool is used by anyone else? In commercial setting, anyone else usually means competitors, so an overlooked tool is merely a competitive advantage. No logic in that comment tbh as the outcome is for the most part irrelevant :-)

There's a really cool hard RTOS framework from Sweden focused on Cortext-M, and more recently ported to RISC-V, based on hardware priority based scheduling. Wonder if they are basing on that: https://rtic.rs/2/book/en/. Met the creator randomly about a year ago (was visiting at the local university in Tampere, FI), and he gave a great presentation about their research groups work. Was quite amazed.

Its task creation and other shenanigans are essentially a small domain language based on Rust macros and end outcome is bare-metal blobs.
1
0
0

@jarkko My colleague Jorge worked on it at Uni.

But good question - I don’t know if Volvo are using embassy, or RTIC, or Tock OS, or if they rolled their own event handling.

1
0
1
@thejpster Cool, and pretty clever work! Just thought that a research group matching country, size-to-fit OS and using Rust so at least three correlation points :-)

Heh, that "nobody's using XXX" always does the triggering job for me :-) Actually, if I consider any tech conference, I'm *most* interested on presentations where someone is doing something with tools that nobody's using. That's why I e.g. went to see a Servo presentation back in LinuxCon EU 2014. I went to see it exactly because nobody was using Rust, and thus it grabbed my attention. Popularity is not really a recommended way to approach tech really.
0
0
0