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
72
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
210
Scaling a Meteor Cluster
arunoda
0
250
Microservices and Meteor
arunoda
0
880
Introduction to Meteor
arunoda
1
97
How to write CPU optimized Meteor apps
arunoda
3
86
Newer way to notify customer about features
arunoda
1
66
Other Decks in Programming
See All in Programming
2024年のkintone API振り返りと2025年 / kintone API look back in 2024
tasshi
0
220
個人アプリを2年ぶりにアプデしたから褒めて / I just updated my personal app, praise me!
lovee
0
340
Grafana Cloudとソラカメ
devoc
0
140
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
9
1.8k
iOSエンジニアから始める visionOS アプリ開発
nao_randd
3
130
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
1
670
AWS Lambda functions with C# 用の Dev Container Template を作ってみた件
mappie_kochi
0
240
Honoとフロントエンドの 型安全性について
yodaka
5
330
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.8k
TokyoR116_BeginnersSession1_環境構築
kotatyamtema
0
110
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
35
14k
Formの複雑さに立ち向かう
bmthd
1
810
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
9
430
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
A better future with KSS
kneath
238
17k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
Six Lessons from altMBA
skipperchong
27
3.6k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Side Projects
sachag
452
42k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
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