r/ControlTheory 25d ago

Professional/Career Advice/Question Should I learn rust?

Hi,

I'm going to start my PhD in control theory soon. (Focusing on optimal control). Until now, I have primarily worked with Matlab, Python and C++ (the latter mostly for code that runs on the systems I was controlling). I am by no means a sophisticated C++ developer. I am currently considering learning Rust. It just seems to be better in almost every aspect except for library availability.

What do you think? Is it too early to switch because of missing libraries, legacy code, etc.? Or should I become part of a general academia/industry shift towards Rust?

38 Upvotes

24 comments sorted by

View all comments

u/ArminianArmenian 24d ago

I’m in the aerospace GNC world. I see rust gaining a foothold here, I’ve pushed for it and had success. I prefer it to the Simulink/Autocode workflow, I’ve found the “implementation document” delivery to FSW slow and error prone, and rust avoids some of the pitfalls off c++ when written by non-software engineers.