Programming Language Poll

What programming language is your team using this year? Select all that apply.

  • Java
  • C++
  • LabView
  • Python
  • Kotlin
  • Rust
0 voters

I know historically teams have overwhelmingly used Java. I’m curious with the addition of official Python support if that will change things.

If this poll was already done recently let me know and I’ll delete. I couldn’t find a way to search for polls only.

I’m here for the Illinois python supremacy

1 Like

Goat stack is Java for roborio w/ Python & C++ for vision.

I want to know if anyone uses Rust for anything, and why.

1 Like

Rust would actually be a great language for robotics at large because it’s a high-performance language with strong safety guarantees. Unfortunately it’s not something you’ll be able to teach easily to a high school freshman with no prior experience, and that’s a key requirement for an FRC team.

How would you be able to use Rust in FRC. I have barely looked into it, but does it have some integration with C++?

I’m curious to see how this ends up comparing to the usage data for this year.

It’s got C compatibility but doesn’t have full C++ compatibility. Both Rust and C++ have vtables but they don’t use them to implement the same features. You’d either need to write a C-style wrapper to bridge between the C++ wpilib and your Rust code, or dig deep into the details of the C++ compiler and ABI that FRC uses, and either of those is going to be a very advanced project. It would be similar to the ROS teams, or to being one of the pioneering teams for Python or Kotlin, except it’s also harder to teach to students.

1 Like

Disclaimer: I dont like Rust, I have been forced to use it a couple times over the years and it has worked against us every single time.

Rust isnt hard to teach, its just the syntax and the memory model is stupid.

Imo Rust type safety prevents trivial bugs that. It prevents bugs that you can still have in a garbage collector. Plus any practical application of Rust still relies on C libraries.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.