[Node.js] Intro to Node.js
1) What is Node.js? JavaScript without browser (eg. server-side scripting, scripting); represents "Javascript Everywhere" Unifying web application development around a single programming language (rather than different languages for server and client side) Event-driven , non-blocking I/O model - lightweight & efficient. Package ecosystem, npm, is the largest ecosystem of open-source libraries in the world. Open source (free) Built on Chrome's V8 Javascript engine Is "fast" because it uses small amount of threads to handle many clients via asynchronous calls. However, it is only effective if each work/task is small. 2) Javascript background Generally considered an Interpreted language, but modern Javascript engines compiles it as well (since 2009). Javascript internally compiled by V8 with just-in-time (JIT) compilation to speed up execution. While it might take a bit more to have Javascript ready, once done, it's more performant than purely...