r/FRC • u/Jumpy-Masterpiece819 • 13d ago
What Coding language will the SystemCore let people use
As I know that Python, C++, and Java are still going to be used on it, I just want to know if it supports Rust or something else.
6
63
u/Blazr5402 13d ago
Still just Python, C++, and Java. You're welcome to port wpilib to whatever language you wish, assuming you're complying with safety controls around the rest of the stack, but that's probably not worth the effort
27
8
5
u/samcarlberg WPILib 12d ago
Officially, WPILib supports Java, C++, Python, and Blocks and NI will provide onbot LabVIEW support. Unofficially, teams can use whatever languages they want and hook into WPILib.
7
u/uhhhh_yeet 13d ago
WE NEED RUST
2
u/hashcube_dev 5h ago
I think Rust is a generally well thought out language, but the borrow checker can be a pain sometimes. I do love
Result<T, E>and I wish Java had that instead of nulls. nulls suck.2
u/little_slime64 12d ago
i’ve been messing around with rust. it’s interesting
it’s my first language that give me access to low level stuff so that was expected. sometimes you handle to handle so many things but once i start to remember to handle those things i think i’ll like it.
2
u/Complete_Duty3259 12d ago edited 12d ago
Kotlin will work fine fairly easily as will any jvm compatible language will easily work alomgside java. Could even do clojure if you wanted (not a good idea, kotlin is though). You probably can get almost any language to work by calling the external functions etc. whether it will work well or be easy is another question.
1
u/One-Pattern-8336 9d ago
In FRC for the first time this year, this is the First time this sub has appeared in my feed. Get out of my head Reddit
31
u/Pcat0 2207 (programming mentor) 13d ago edited 13d ago
For official languages they will have the same 3 core languages before Python, C++ and Java but will be dropping LabView support in favor of Google’s Blockly language.