Beruflich Dokumente
Kultur Dokumente
DroidHead Follow
Android Developer | Machine Learning Enthusiast | Hackathon Lover | Traveler | Foodie
Dec 20, 2017 · 4 min read
Microprocessors are tiny machines that work with electrical signals and
ultimately do the job. We give microprocessors the instructions. The
instructions are in the language that microprocessors can interpret.
Di erent microprocessors speak di erent languages. Some of the most
common are IA-32, x86–64, MIPS, and ARM. These languages directly
interact with the hardware so the code written in them is called
machine code. Code that we write on our computers is converted or
compiled into machine code.
Source : Google
https://medium.freecodecamp.org/understanding-the-core-of-nodejs-the-powerful-chrome-v8-engine-79e7eb8af964 1/6
1/7/2018 Understanding How the Chrome V8 Engine Translates JavaScript into Machine Code
https://medium.freecodecamp.org/understanding-the-core-of-nodejs-the-powerful-chrome-v8-engine-79e7eb8af964 2/6
1/7/2018 Understanding How the Chrome V8 Engine Translates JavaScript into Machine Code
Source : Google
• The V8 engine can run standalone we can embed it with our own
C++ program.
Let us understand the last point a little better. V8 can run standalone
and at the same time we can add our own function implementation in
C++ to add new features to JavaScript.
https://medium.freecodecamp.org/understanding-the-core-of-nodejs-the-powerful-chrome-v8-engine-79e7eb8af964 3/6
1/7/2018 Understanding How the Chrome V8 Engine Translates JavaScript into Machine Code
Let’s now look at some of the open source code inside the engine. To do
this, you need to go to the v8/samples/shell.cc folder .
https://medium.freecodecamp.org/understanding-the-core-of-nodejs-the-powerful-chrome-v8-engine-79e7eb8af964 4/6
1/7/2018 Understanding How the Chrome V8 Engine Translates JavaScript into Machine Code
That is certianly too much to grab for a simple statement and that’s the
amount of work V8 engine does under the hood.
Now you must have a clear understanding of how Node.js works and
what actually is the Chrome V8 engine.
https://medium.freecodecamp.org/understanding-the-core-of-nodejs-the-powerful-chrome-v8-engine-79e7eb8af964 5/6
1/7/2018 Understanding How the Chrome V8 Engine Translates JavaScript into Machine Code
https://medium.freecodecamp.org/understanding-the-core-of-nodejs-the-powerful-chrome-v8-engine-79e7eb8af964 6/6