Works fine for most things but I’ve also told myself many times now that I would like to dive deeper when I find the time.
My background is in web and Java. Never done C or C++.
Is rust on esp already good enough for a beginner?
Works fine for most things but I’ve also told myself many times now that I would like to dive deeper when I find the time.
My background is in web and Java. Never done C or C++.
Is rust on esp already good enough for a beginner?
The biggest thing in Rust that you need to become familiar with from Java is the ownership system. First, Java is a default copy-by-reference language, whereas Rust is move by default. So learn the difference between, T, &T, and &mut T. Learning the ownership system will make you disappointed in Java’s thread-safety story. Rust makes thread safety and multiple references to values very obvious and you need to be explicit about how things should be shared. This will probably be your biggest hurtle, based on my experience.
Read the book, these concepts are all explained very nicely: https://doc.rust-lang.org/book/
It's mostly declarative, like writing a kubernetes helm chart with some templating, which should be somewhat at home for web folks.