menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

What are J...
source image

Dev

1w

read

63

img
dot

Image Credit: Dev

What are JavaScript Engines?

  • JavaScript engines are process virtual machines designed to interpret and execute JavaScript code.
  • The basic job of a JavaScript engine is to convert the JavaScript code that a developer writes to fast, optimized code.
  • Each JavaScript engine implements a version of ECMAScript. As ECMAScript evolves, so do JavaScript engines.
  • JavaScript engines work differently. For example, JavaScriptCore by Apple performs a series of steps to interpret and optimize a script.
  • Google’s V8 engine, written in C++, compiles and executes JavaScript source code, handles memory allocation, and garbage collects leftovers.
  • Runtimes tend to work on top of JavaScript engines, extending their power.
  • A lot of marketing push goes into the names given to JavaScript engines. However, it’s useful to note a few of the major events in the history of the JavaScript engine.
  • The goal of a JavaScript engine is to generate the most optimized code in the shortest possible time. Keeping up with the changes in JavaScript engines will be time well spent as you evolve as a web, mobile, or app developer.
  • Understanding the tech behind JavaScript engines can help in better honing the craft as a programmer.
  • Developers should be aware of the differences inherent in the browsers that display the code and understand the limitations inherent to and possibilities offered by the various browsers on their small devices.

Read Full Article

like

3 Likes

For uninterrupted reading, download the app