Performance
How JavaScript runs, and what that means in practice.
Execution model
JIT-compiled by the engine (V8 in Node.js and Chrome) with inline caching and speculative optimisation.
Memory
Generational garbage collector; hidden classes reward objects with consistent shapes.
Concurrency
Single-threaded event loop excels at concurrent I/O; worker_threads / Web Workers for parallel CPU work.
In practice
Very good for I/O-bound services; CPU-bound work is slower than compiled languages and blocks the loop.
Saved in this browser only. Part of From code to production (0/5).