So, don’t compare it with other languages like C# or Ruby. Understand Node and get it fundamentally RIGHT “ Ryan Dahl” (the original developer of Node) took the “ v8” JS engine and embedded it in a C++ program and named it as “Node”. Till the year 2009, the only way to execute javsscript was in browsers. The javascript engine that resides inside the browser is the runtime environment for javascript code. Mozilla Firefox uses “ SpiderMonkey” JS Engine.Microsoft Edge uses “ Chakra” JS Engine.That’s probably the reason why the same javascript code behaves differently in different browsers. Javascript engines on various browsers are different. Browsers have a Javascript Engine which takes the javascript code and converts it to computer understandable machine code and runs it. Initially, browsers were the only place where we could run our javascript code. Node is not an ideal choice for CPU intensive applications. It works on single thread but with asynchrony, it uses that thread very efficiently. Node is high scalable because of its non-blocking asynchronous nature.For any feature that we want in our application, mostly there is going to be an NPM package which we can import into our application and configure.NPM (Node Package Manager) has tons of libraries that the developer community contributes and maintains.Node has the largest ecosystem of open source libraries.Using javascript on your backend and frontend makes the tech stack more consistent from a source code perspective.If you are a javacript frontend developer, you can add NodeJS to your resume and transition into a fullstack developer in no time without learning anything new.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |