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
Node.js & Ruby
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ben
June 10, 2012
Programming
270
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Node.js & Ruby
Ben
June 10, 2012
More Decks by Ben
See All by Ben
2.5 个人如何开发一款跨终端的产品?
benz303
1
360
Other Decks in Programming
See All in Programming
JavaDoc 再入門
nagise
1
410
AI駆動開発を妨げる技術的負債の解消アプローチ / ai-refactoring-approach
minodriven
12
6.5k
Performance Engineering for Everyone
elenatanasoiu
0
210
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.4k
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
180
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
13k
The NotImplementedError Problem in Ruby
koic
1
920
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
210
Signal Forms: Details & Live Coding @enterJS 2026 in Mannheim
manfredsteyer
PRO
0
190
Claspは野良GASの夢をみるか
takter00
0
210
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
280
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
320
Featured
See All Featured
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
170
How to Talk to Developers About Accessibility
jct
2
250
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
220
A designer walks into a library…
pauljervisheath
211
24k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Skip the Path - Find Your Career Trail
mkilby
1
150
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
340
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Ethics towards AI in product and experience design
skipperchong
2
310
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Transcript
None
Node.js 优势: 异步处理 ◦ 高性能 劣势:
JavaScript语言的先天不足 ◦ CoffeeScript的后天补救 ◦ Google’s Daat? 虽然社区活跃度高,但无力颠覆RoR
无力颠覆RoR Ruby也有Event Machine 高效开发Web应用(没有之一) 性能瓶颈对于大多数创业型网站而言只是 “白日梦”
结论 Node.js只是RoR的Event Machine的替代 品 除非真的遇到性能瓶颈,否则Node.js只 会徒增开发&维护成本
比Node.js更好的选择 Node.js基于V8引擎,跟JavaScript一样, 是单线程的 即使再怎么异步,也只能使用一个CPU 多CPU编程语言推荐: Erlang
Go
Node.js里的好东西? require "execjs“ ExecJS.compile(‘code’) 实例: https://github.com/lautis/uglifier/blob/ma ster/lib/uglifier.rb