Interview-Bytes
Expertly curated technical interview questions,
simplified into manageable lessons.
Filter by Topic
Showing 1–2 of 2 questions
Role of Javascript in development of web ?
In early 90s there were only static pages on web.
Then for client side scripting ( dynamic frontend ), javascript was introduced.
This led to development of JS engines like SpiderMonkey, V8 etc
These engines allows browsers to execute javascript code.
Early adopters of Javascript’s features were eBay, Yahoo, Amazon etc
Different engines may support different versions of ECMAScript
Is V8 just a JavaScript compiler? How do they compare to C and Java?
Its a complete runtime environment. It compiles frequently used code for speed, interpret the rest, and manage memory automatically, handling JS's dynamic nature efficiently.
While C is compiled ahead-of-time into machine code. Java is compiled to bytecode, then JVM uses JIT to compile that to machine code. In V8, JS is directly JIT compiled to machine code at runtime instead of any intermediary code.