JavaScript is eating the world of programming
Gopalakrishnan Subramani
Big Data Engineering | Trainer | Architect & Consultant | 20 Years | Analytics | Integration | DataBricks | Spark | Flink | Kafka | NiFi | ETL | AWS | Azure | ML | Java | Scala | Micro Service
Let your next project small or large, JavaScript has something to offer you. You build apps for Web, Mobile, Desktop, Server or Cloud technologies? JavaScript has frameworks and tools available for you build your big project. Whether your hardware is a super computer or tiny 32 MB MIPS with 128 MHZ processor, JavaScript runs there.
Application Developers who are using JavaScript as glue language to patch HTML & CSS with jQuery facing immense challenges while developing Single Application Applications using AngularJS, Angular 2 or ReactJS, as the traditional server side programming style has changed fundamentally, now RESTful architecture helps to build Single Page Application much faster and responsive way.
Node.js brought new opportunities for JavaScript developers as Full Stack, backend developers, what developers do with Java or .NET now can be built by using on JavaScript. Similarly, developers who worked on server side web application development by using PHP, Java, .NET, Rails, Python etc now also working on Front End Application development using HTML5, JavaScript. MEAN stack, Mongo, Express, Angular, Node.js is a choice for millions of developers to keep their entire technology stack on one language.
Developers who are developing native mobile applications now have option to work on Cordova/Phonegap Hybrid HTML5, JavaScript based Mobile Applications. Want a native look and feel, we have Ionic Framework, which is built on AngularJS. The companies who wants to build native mobile application choose ReactJS Native, or NativeScript, which are JavaScript frameworks and toolkits to build native mobile application using JavaScript. We also have Titanium, which helps to build native mobile applications using JavaScript.
Now every issue of Microsoft MSDN Subscription publishes papers on at least one JavaScript topic, Adobe promoting HTML5, CSS, JavaScript by supporting PhoneGap development. IBM, Google, Microsoft, Intel, Facebook, Twitter all major tech giants contribute the development of JavaScript and tool chains.
JavaScript is described as interpreted language, it was historically interpreted by browsers a long long ago. But now the scene changed. Now browser not really interpret JavaScript line by line, instead all modern web browsers compile JavaScript into machine language, optimized to CPU and Machine architecture, that helps JavaScript to be executed naively whether you run Node.js application or navigate through web browsers.
Node.js is a super lightweight JavaScript runtime, whether you build Alexa 100 rank website or small, tiny hello world console application, it scales well. Node.js build application's performance were compared to enterprise grade Java and .NET applications. Larger companies like WallMart, Paypal to build their backend on Node.js. Node.js for server, JavaScript for browsers shares a lot of common code when it comes to JavaScript, they follow same ES5 and ES6 specifications.
Node.js JavaScript runtime is basically Google’s JavaScript library, called V8 engine, used in Chromium based web browsers. Google V8, first parse JavaScript, built AST (Abstract Syntax Tree) data structure, then convert to native machine code. Google V8 has superior performance, it has HotSpot technologies builtin, something similar to Java Hotspot JVM, it profiles the application on runtime, optimize the most used application code base for performance. This means, if you have a specific sequence of code written in JavaScript which is most used in your application, Google V8, gives the specific code a special attention, super optimize it for faster execution.
Node.js & V8 JavaScript engine works on Intel, ARM, MIPS based computers, generate native machine codes on the fly, due to light weight factors, you can run Node.js on 32 MB 32 bit MIPS processors, low footprint ARM Micro Processors, then Intel Edison, Raspberry PI boards.
The new ES6 (ECMA 2015) brought a tons of new features to JavaScript, making it near complete language. TypeScript brought new features like interfaces, decorators, static typing, transpiling to keep JavaScript healthy and robust for larger applications.
If you are Desktop application developer, use WPF, WinForms, VC++, want to build application quicker and port to Linux, Mac, Windows, now we have Electron, a framework from Github used to build Desktop application for cross platform. Microsoft build awesome IDE "Visual Studio Code" by using Node.js, HTML5 & Electron.
Did I say, ESP8266, WIFI enabled Micro Controller (1$ to 2$) with 64 KiB for instruction and 96 KiB for Data can run JavaScript, you can write Web Server, IoT Data Collection using firmwares like ESPruino?
Want to build small web site? Or a small mobile game for your kid or an IoT hack to make your home a smart one as hobby project Or build a fast growing, agile, dynamic technology company, check JavaScript 2 times before taking it away from your choice, you may be wrong on JavaScript.
Senior Associate Experience Technologist
8 年For iot leap, can javascript be enough ?
XM Cloud Certified | Technology Architect at Infosys| Sitecore Architect
8 年Good one Gopal sir ... you are always up to date in technology :)