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
CSC307 Lecture 06
javiergs
PRO
0
680
Basic Architectures
denyspoltorak
0
660
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
Oxlint JS plugins
kazupon
1
830
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
350
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
20
7k
CSC307 Lecture 01
javiergs
PRO
0
690
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
CSC307 Lecture 07
javiergs
PRO
0
550
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
Featured
See All Featured
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
Test your architecture with Archunit
thirion
1
2.1k
Visualization
eitanlees
150
17k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
300
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
49
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Abbi's Birthday
coloredviolet
1
4.7k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
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