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
71
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
150
Performance Optimization Tips for Meteor
arunoda
0
300
Introduction to Flow - UI Architecture for Meteor
arunoda
1
200
Scaling a Meteor Cluster
arunoda
0
250
Microservices and Meteor
arunoda
0
880
Introduction to Meteor
arunoda
1
95
How to write CPU optimized Meteor apps
arunoda
3
86
Newer way to notify customer about features
arunoda
1
65
Other Decks in Programming
See All in Programming
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
350
DevTools extensions で 独自の DevTool を開発する | FlutterKaigi 2024
kokiyoshida
0
110
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
イベント駆動で成長して委員会
happymana
1
340
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
1.1k
Amazon Bedrock Agentsを用いてアプリ開発してみた!
har1101
0
340
Better Code Design in PHP
afilina
PRO
0
130
Quine, Polyglot, 良いコード
qnighy
4
650
as(型アサーション)を書く前にできること
marokanatani
10
2.8k
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
260
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
3
1.2k
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
427
64k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
900
A Philosophy of Restraint
colly
203
16k
Designing for humans not robots
tammielis
250
25k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Being A Developer After 40
akosma
87
590k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Ruby is Unlike a Banana
tanoku
97
11k
Rails Girls Zürich Keynote
gr2m
94
13k
Into the Great Unknown - MozCon
thekraken
32
1.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