In this article I want talk about my reasoning behind it, and why you as a NodeJS developer should consider the same.
It also shines on the server side of things with its easy to use frameworks, easy syntax and no static types.
NodeJS was so successful that even large applications got build with it. However, one missing piece was and is its type system. With no static types, Microsoft had to step in and create TypeScript. It offers many people who had to move from C++ and Java a familiar environment.
Learning TypeScript is bad pain, learning Rust is good pain
When you learn TypeScript, you mostly cope with a tool which is there to improve a language which lacks well thought through features.
If you want types, and you might need them in bigger applications, you can move to a typed language right away. Why bother with a transpiler?
You know the saying: The biggest strength is also your biggest weakness?
Well with Rust, the thing you will love the most is its static type system. It will take some time though. The type system will prevent you from easily deploying a CRUD app in under one hour, but it will help you in the long run crafting sophisticated, safe and fast applications.
And once you are used to it, you can create your own “rust-web-starter” app and get the same benefits of crafting fast prototypes as you would with Node.
Rust is the new Bitcoin, but better
I painted a pretty simple picture: Why would you then choose Rust over, lets say Go?
Because Rust is the new Bitcoin. The majority of contributers are not working for Mozilla (who took over the Rust project and published it). The development of the language happens in the open, and everyone can contribute. Decentralized if you wish.
If Mozilla would completely abandon the language, it would still live on and flourish. Go however is solely maintained within Google, and we all know what happens to most Google projects after a few years.
It doesn’t seem like Go will go anywhere, the language is great and you will be super productive with it. But so is Rust, plus it has all the other features.
When I talked about “leveling up” in the beginning, I meant leveling up. You don’t have to read through StackOverflow to fix some random problem.
The Rust docs are superb. You have to get used to them though. The structure and explanations make more sense once you start building your own applications and need help.
Your biggest enemy and your best friend. The term “good pain” couldn’t be more accurate when it comes to the Rust Compiler. You will hate it that even simple exercises will fail in the beginning and you can’t even easily pass Strings around.
But, once you got the hang of it, you realize the biggest strength of the compiler:
You can pair program with the compiler and be sure to have crafted a solid application afterwards
Rust is still evolving, and you might live in a city where the community is not strong yet! So what? The Rust Compiler knows everything, and if it approves your code you can feel safe and secure.
Rust is as well:
Thanks for reading ❤
If you liked this post, share it with all of your programming buddies!
We are providing robust Node.JS Development Services with expert Node.js Developers. Get affordable Node.JS Web Development services from Skenix Infotech.
A Guide to Hire Node.js Developers who can help you create fast and efficient web applications. Also, know how much does it cost to hire Node.js Developers.
A thoroughly researched list of top NodeJS development companies with ratings & reviews to help hire the best Node.JS developers who provide development services and solutions across the world. List of Leading Node.js development Service Providers...
Looking for an attractive & user-friendly web developer? HourlyDeveloper.io, a leading web, and mobile app development company, offers web developers for hire through flexible engagement models. You can **[Hire Web...