Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How JavaScript Works
Search
arunoda
November 18, 2015
Programming
79
1
Share
How JavaScript Works
A brief introduction to how JavaScript works internally.
arunoda
November 18, 2015
More Decks by arunoda
See All by arunoda
Meteor & Container (by Justin from MDG)
arunoda
0
120
Tour De Docker - Meteorhacks Show 2015 May
arunoda
1
160
Performance Optimization Tips for Meteor
arunoda
0
310
Introduction to Flow - UI Architecture for Meteor
arunoda
1
210
Scaling a Meteor Cluster
arunoda
0
260
Microservices and Meteor
arunoda
0
900
Introduction to Meteor
arunoda
1
99
How to write CPU optimized Meteor apps
arunoda
3
92
Newer way to notify customer about features
arunoda
1
72
Other Decks in Programming
See All in Programming
モダンOBSプラグイン開発
umireon
0
200
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
230
へんな働き方
yusukebe
6
2.9k
Rethinking API Platform Filters
vinceamstoutz
0
8.3k
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
370
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
230
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
5.6k
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
830
Claude Codeログ基盤の構築
giginet
PRO
7
3.9k
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
160
AI-DLC 入門 〜AIコーディングの本質は「コード」ではなく「構造」〜 / Introduction to AI-DLC: The Essence of AI Coding Is Not “Code” but “Structure”
seike460
PRO
0
220
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
140
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Making Projects Easy
brettharned
120
6.6k
Tell your own story through comics
letsgokoyo
1
880
Writing Fast Ruby
sferik
630
63k
Optimizing for Happiness
mojombo
378
71k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Between Models and Reality
mayunak
3
260
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
340
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
500
Transcript
How JavaScript Works @arunoda
Is It Fast?
For Server Side Apps, Really?
JavaScript VMs
V8 Spider Monkey Chakra Nitro
V8 - The King
For Chrome by Google Used in Node.js, MongoDB Cool Features
JavaScript Execution
None
JavaScript is Single Threaded
huh!
Eventloop
Eventloop
Eventloop
Non Blocking I/O
Non Blocking IO OS Level I/O Queues
Java - nio Python - asyncio Non Blocking I/O isn’t
Something New
This is the only way! But in JS
None
None
Node.js
Is Node.js Fast?
Pure JavaScript is Super Fast
Non Blocking IO is fast, efficient
JS - C++ communication is slow here
Don’t block Eventloop avoid CPU intensive tasks
Still, Why Node.js?
CPU Intensive Kernel Level Stuff
Highly Concurrent Easy to write
Thank You! @arunoda