Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
How JavaScript Works
Search
arunoda
November 18, 2015
Programming
85
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How JavaScript Works
A brief introduction to how JavaScript works internally.
arunoda
November 18, 2015
Transcript
30 slides
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
More Decks by arunoda
See All by arunoda
Meteor & Container (by Justin from MDG)
arunoda
0
130
Tour De Docker - Meteorhacks Show 2015 May
arunoda
1
170
Performance Optimization Tips for Meteor
arunoda
0
320
Introduction to Flow - UI Architecture for Meteor
arunoda
1
230
Scaling a Meteor Cluster
arunoda
0
270
Microservices and Meteor
arunoda
0
910
Introduction to Meteor
arunoda
1
110
How to write CPU optimized Meteor apps
arunoda
3
110
Newer way to notify customer about features
arunoda
1
84
Other Decks in Programming
See All in Programming
眠らない開発チームの作り方
biwakonbu
0
100
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
230
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
440
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
390
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
980
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
210
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
340
Debian JP Projectのサーバー構成
uwabami
1
180
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
240
あなたはMCPの機能を、まだ知らない。
4geru
1
740
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
180
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
Speed Design
sergeychernyshev
33
2.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
The Invisible Side of Design
smashingmag
301
52k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
610
Believing is Seeing
oripsolob
1
290
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Embracing the Ebb and Flow
colly
88
5.2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
The agentic SEO stack - context over prompts
schlessera
0
1k