by mschwaig · 8y ago · 0 comments
This is great if memory managment and high performance are a big concern for you, if they are not you might want to choose a language like Go or Node which allow you to gloss over such details until they really become an issue.
Do not fix problems you do not have by throwing Rust at them, but feel free make the climb of learning it to expand you horizon. :)
If you wanted to run one codebase across Desktop(Win32, OSX, Linux), Mobile(Android, iOS) and Web(Asm.js/WASM) you'd usually have to resort to a scripting(perf-impact) or C/C++(compiler differences, poor dependency management).
With Rust I can do all that one from one Cargo.toml and a codebase that just works for all my platforms(modulo any forking inside libs that use "target(win32)", etc).
For someone who's done that most of their career it was amazing to see how solid and straightforward that is with Rust.
Thank you. I write mostly Node & wanted to try Go for a long time because of performance & then I heard that Rust is even faster. So I thought I would learn that.
But you are right, I don't have any problem with Node. Its working great for me. :)
I would not write that specific code in Node.