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
1
76
How JavaScript Works
A brief introduction to how JavaScript works internally.
arunoda
November 18, 2015
Tweet
Share
More Decks by arunoda
See All by arunoda
Meteor & Container (by Justin from MDG)
arunoda
0
110
Tour De Docker - Meteorhacks Show 2015 May
arunoda
1
160
Performance Optimization Tips for Meteor
arunoda
0
300
Introduction to Flow - UI Architecture for Meteor
arunoda
1
210
Scaling a Meteor Cluster
arunoda
0
250
Microservices and Meteor
arunoda
0
890
Introduction to Meteor
arunoda
1
98
How to write CPU optimized Meteor apps
arunoda
3
91
Newer way to notify customer about features
arunoda
1
70
Other Decks in Programming
See All in Programming
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
MUSUBIXとは
nahisaho
0
130
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
CSC307 Lecture 02
javiergs
PRO
1
770
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
CSC307 Lecture 06
javiergs
PRO
0
680
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
450
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
200
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
410
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
KATA
mclloyd
PRO
34
15k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
Music & Morning Musume
bryan
47
7.1k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
110
Designing for humans not robots
tammielis
254
26k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
92
WCS-LA-2024
lcolladotor
0
450
How to train your dragon (web standard)
notwaldorf
97
6.5k
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