Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is javascript runtime..? [duplicate]

As per the definition mentioned on https://nodejs.org/

Node.js is a platform built on Chrome's JavaScript run-time for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Can any one please help me understand what the JavaScript run-time exactly means?

like image 888
Yamini Avatar asked Jun 15 '15 06:06

Yamini


People also ask

What is JavaScript runtime?

A runtime environment is where your program will be executed. JavaScript code may be executed in one of two runtime environments: a browser's runtime environment. the Node runtime environment.

What causes runtime error JavaScript?

Runtime errors occur when the interpreter comes along some code that it cannot understand. Both loading and syntax errors are simple but can result in unexpected halting of script. Fix – Once these errors occur, debugger in the browser can be used to find out the error in code.

What is JavaScript runtime engine?

A JavaScript engine is a software component that executes JavaScript code. The first JavaScript engines were mere interpreters, but all relevant modern engines use just-in-time compilation for improved performance. JavaScript engines are typically developed by web browser vendors, and every major browser has one.

What is node js JavaScript runtime in Task Manager?

js is a lean, fast, cross-platform JavaScript runtime environment that is useful for both servers and desktop applications.


1 Answers

Maybe it's referring to Google's V8 engine.

  • It is an engine for processing JavaScript in the browser and is used by Google Chrome.
  • It's open source.
  • And it's written in C++.
  • It works on several platforms including mobile and embedded devices.

For more information see: https://code.google.com/p/v8/

If you google for "chrome javascript runtime", you will get all these links to V8.

like image 148
Mustaghees Avatar answered Oct 09 '22 01:10

Mustaghees