Monday, November 18, 2024
Google search engine
HomeLanguagesJavascriptJavaScript : The Awesome Script

JavaScript : The Awesome Script

Either you love it or hate it, but in the age of Microservice and REST API, you can not ignore JavaScript. JavaScript was once upon a time used only in client-side (browser), but node js (execution engine/run time/web server) has made it possible to run javascript on the server side. JavaScript is everywhere – on Desktop/Server/Mobile. You can create mobile web apps with javascript and html5, which has a lot of advantages like saving licensing cost $99 yearly to pay Apple for making IOS apps and you don’t have to purchase a MAC laptop to make your IOS app(Apple’s app can only be made in MAC).

JavaScript has stormed the web technology and nowadays small software ventures to Fortune 500, all are using node js for web apps. Recently wordpress.com has rewritten its dashboard in javascript, paypal also choose to rewrite some of its components in java script. Be it Google/twitter/Facebook, javascript is important for everyone. It is used in applications like single-page applications, Geolocation APIs, net advertisements etc. However JavaScript is quirky/dynamic/scripting/functional-oriented language, and it has its own idiosyncrasies. It is not scalable, it is good for some 3000 line of code but for a bigger app, it becomes difficult to manage ,read and debug. Also not everyone is very much familiar to JavaScript.

You might sometimes think that, I do not know much of single-pageJavaScript then “How to be JavaScript Developer without much knowledge of JavaScript?”

To ease down our work, some smart developers/companies have made compiler/transpiler which convert your other language code into javascript code.(Best of both worlds)

C++: If you know C++, then it is possible to get it converted into JavaScript. Cheerp is a free compiler for open-source commercial projects as well as for closed-source noncommercial projects.It is the C++ compiler for the web.You just write a web application or port your existing one, all in C++. Cheerp will generate its JavaScript code that can run on any browser.

Java: Java is a darling of open source, backed by Oracle/IBM/Google/Red hat. Maximum number of developers in the world are Java developers(around 10 million). A maximum number of projects in github and apache are based on Java.

  1. GWT is a development toolkit for building and optimizing complex browser-based application. Its goal is to enable productive development of high-performance web applications without the developer having to be an expert in browser quirks, XMLHttpRequest, and JavaScript. It’s open source, completely free, and used by thousands of developers around the world.
  2. JSweet: A transpiler from Java to TypeScript/JavaScript It contains 1000+ well-typed JavaScript libraries available from Java.
  3. Kotlin:-Kotlin is a statically-typed programming language that runs on the Java Virtual Machine and also can be compiled to JavaScript source code. Unlike most programming languages, Kotlin language is not made by Academia or Research Lab but it is made by a professional company jetbrains.

Scala: Mix of object-oriented and functional approaches. It is a static language, but can be use as a dynamic language. Many big enterprises like LinkedIn, Twitter are written in Scala. Again, you write code in scala and scala-js comes to rescue and code gets compiled/transpiled into javascript.

C#: Beautiful and most productive language. Now a days, it is much like scala language, especially after version 4.0. You can write your code in C# and convert into javascript using bridge.net

Typescript: Brain Child of Anders Hejlsberg, who made Turbo, Pascal, Delphi, C# language. TypeScript lets you write JavaScript the way you really want to. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. Any browser. Any host. Any OS. Open Source.

This article is contributed by Amit Joshi If you like neveropen and would like to contribute, you can also write an article using write.geeksforgeeks.org or mail your article to review-team@geeksforgeeks.org. See your article appearing on the neveropen main page and help other Geeks.

If you also wish to showcase your blog here,please see GBlog for guest blog writing on neveropen.

 

Whether you’re preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, neveropen Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we’ve already empowered, and we’re here to do the same for you. Don’t miss out – check it out now!

Dominic Rubhabha-Wardslaus
Dominic Rubhabha-Wardslaushttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Recent Comments