Feel like everyone’s been telling me it’s the best thing since sliced bread. I’m just a hobbyist with like a single big project I’m maintaining but I’m starting to hate the code and idk maybe I should rewrite it in rust. Idk
Feel like everyone’s been telling me it’s the best thing since sliced bread. I’m just a hobbyist with like a single big project I’m maintaining but I’m starting to hate the code and idk maybe I should rewrite it in rust. Idk
What is the code written in now? What happens if you clean it up? What is the project if I can ask? Everything has a runtime, though some are more complex than others. You might like OCaml which is where Rust got some ideas, or Haskell if you like brain benders. Rust (like C) is for when you need very efficient code, and you incur some pain in order to get that.
The code is in Typescript. It’s the backend of a web app that’s all. Doesn’t really need to be in Rust but idk I just want to make something that doesn’t use more resources than it needs to. Just to be neat :D
Purescript is also really great if you want what Typescript promised you but failed to deliver.
For certain backends, especially the kind that generates static pages, functional code like Haskell works well, and brings a different kind of “cleanness”.
Just in case you hadn’t considered it.
You might give Go (Golang) a try. It’s lighter weight than Java, pretty fast, and easy to use.