Why you should move from Node.js to Rust in 2020

Why you should move from Node.js to Rust in 2020

In this article I want talk about my reasoning behind it, and why you as a NodeJS developer should consider the same.

Rust is the new JavaScript

JavaScripts appeal comes mainly from it’s easy-to-use and available-everywhere characteristics. It’s the only choice in the browser to build applications.

It also shines on the server side of things with its easy to use frameworks, easy syntax and no static types.

Building a web application with NodeJS takes literally a few hours. And with React on the frontend you have a always evolving and powerful tool to build complex applications.

So why is Rust the new JavaScript then?

  • Rust is available not only on the server, but also runs on hardware
  • With WASM, Rust will be able to run in the browser as well
  • As a frontend developer, NodeJS helped you to get into server-side programming. Learning Rust will help you covering the whole stack from hardware to server to frontend

Rust is the logical next step

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.

However, now instead of learning JavaScript, you are learning a tool from Microsoft which adds another layer on top of all the other layers to make JavaScript run on the server.

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.

The Rust Compiler

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!

Follow us on Facebook | Twitter

Further reading

The Complete Node.js Developer Course (3rd Edition)

Angular & NodeJS - The MEAN Stack Guide

NodeJS - The Complete Guide (incl. MVC, REST APIs, GraphQL)

Best 50 Nodejs interview questions from Beginners to Advanced in 2019

Node.js 12: The future of server-side JavaScript

An Introduction to Node.js Design Patterns

Basic Server Side Rendering with Vue.js and Express

Fullstack Vue App with MongoDB, Express.js and Node.js

How to create a full stack React/Express/MongoDB app using Docker

An introduction to Web Development with Rust for Node.js Developers

7 reasons why you should learn Rust programming language in 2019

Rust Vs. Haskell: Which Language is Best for API Design?

node-js rust javascript web-development

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Hire Node.JS Developers | Skenix Infotech

We are providing robust Node.JS Development Services with expert Node.js Developers. Get affordable Node.JS Web Development services from Skenix Infotech.

How to Hire Node.js Developers And How Much Does It Cost?

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.

Top Node.js Development Companies and Expert NodeJS 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...

Hire Web Developer

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...

Top Vue.js Developers in USA

Vue.js is an extensively popular JavaScript framework with which you can create powerful as well as interactive interfaces. Vue.js is the best framework when it comes to building a single web and mobile apps.