CodeNewbie Community 🌱

Cover image for Alternatives to JavaScript
Bello Noah
Bello Noah

Posted on

Alternatives to JavaScript

JavaScript is written in C++, including engines like Spider Monkey, V8, Chakra, etc. That is, JavaScript codes are compiled to machine codes, but C++ binding is used in runtime between the browser and the engine.

Since browsers only support JavaScript, other programming languages can be transpiled to JavaScript before the C++ binding can be done successfully.

Codes can now be transpiled from languages like TypeScript, Dart, etc. to JavaScript then compiled to machine codes in the JavaScript engine

More on browsers and engines C++ binding later

Below are alternative languages to JavaScript:

A high-level language like JavaScript is abstracted from the machine level. Check out the Freecodecamp article to learn more.

Oldest comments (0)