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
73
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
890
Introduction to Meteor
arunoda
1
97
How to write CPU optimized Meteor apps
arunoda
3
87
Newer way to notify customer about features
arunoda
1
69
Other Decks in Programming
See All in Programming
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
140
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
1
5.9k
「テストは愚直&&網羅的に書くほどよい」という誤解 / Test Smarter, Not Harder
munetoshi
0
170
#kanrk08 / 公開版 PicoRubyとマイコンでの自作トレーニング計測装置を用いたワークアウトの理想と現実
bash0c7
1
770
Rubyでやりたい駆動開発 / Ruby driven development
chobishiba
1
730
Claude Code + Container Use と Cursor で作る ローカル並列開発環境のススメ / ccc local dev
kaelaela
10
5.4k
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
250
AIエージェントはこう育てる - GitHub Copilot Agentとチームの共進化サイクル
koboriakira
0
600
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
520
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
260
VS Code Update for GitHub Copilot
74th
2
650
Quand Symfony, ApiPlatform, OpenAI et LangChain s'allient pour exploiter vos PDF : de la théorie à la production…
ahmedbhs123
0
200
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Code Reviewing Like a Champion
maltzj
524
40k
Music & Morning Musume
bryan
46
6.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
Typedesign – Prime Four
hannesfritz
42
2.7k
Unsuck your backbone
ammeep
671
58k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
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