Reply to post: First

Rust marks five years since its 1.0 release: The long and winding road actually works



Coincidentally I tried rust for the first time today to write a simple line following program for my kids Lego mindstorm. I liked it for two reasons. 1) The pattern matching made writing a state machine very concise. 2) I wrote it out, fixed all the compile errors, uploaded it to the device and it worked the first time. That never happened with C or any other language, where I'd end up fiddling around several mistakes before getting to the part of testing the actual program logic. It definitely felt like the compiler was helping out a lot more.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2022