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
Ruby is not slow anymore
Search
Pavel Kalashnikov
April 03, 2023
Programming
930
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ruby is not slow anymore
Slide 25 has the video. You can find it here
https://youtu.be/qxZ2ste7RyA
Pavel Kalashnikov
April 03, 2023
Other Decks in Programming
See All in Programming
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
190
Go 1.27からのGODEBUG / Go 1.27 リリースパーティ #go127party
mazrean
0
260
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
260
実装をデザインガイドラインに追従させるための取り組み / 260731-dip-mosh-design-system
dachi023
0
7.9k
引き算の組織 ― アウトカムとAIに全振りするために辞めたこと ― / Organization by Subtraction
hirokiyamamoto14
PRO
0
310
業務時間外もAIに働いてもらう話
colorful12
2
8.9k
Flow は今どうなっているか
mizdra
PRO
0
760
「人を評価する AI」の設計と実装
ryoyanara
0
260
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
290
私のClaude Code活用法 (個人開発編) - PHPerKaigi mini #4(2026/08/24)
panda_program
1
190
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
440
typoなんかねぇよ
raspython3
0
620
Featured
See All Featured
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
490
Rails Girls Zürich Keynote
gr2m
96
14k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
How to make the Groovebox
asonas
2
2.4k
Building the Perfect Custom Keyboard
takai
2
850
New Earth Scene 8
popppiees
3
2.5k
sira's awesome portfolio website redesign presentation
elsirapls
0
350
RailsConf 2023
tenderlove
30
1.5k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
260
The Mindset for Success: Future Career Progression
greggifford
PRO
0
480
Transcript
Ruby is not slow anymore @kalashnikovisme
Pasha Kalashnikov @kalashnikovisme Backend Engineer @ @evilmartians
None
@kalashnikovisme @evilmartians They say
Ruby is too slow @kalashnikovisme @evilmartians They say What does
it mean?
1 2 3 4 5 6 7 8 9 10
11 12 13 14 the_fastest_lang.rb faster.cpp @kalashnikovisme @evilmartians def sum_eq_n?(arr, n) return true if arr.empty? && n == 0 arr.product(arr).reject do |a,b| a == b end.any? { |a,b| a + b == n } end Is this slow?
1 2 3 4 5 6 7 8 9 10
11 12 13 14 the_fastest_lang.rb faster.cpp @kalashnikovisme @evilmartians def some_method sleep Random.rand(1_000_000) end or this?
what is slow? @kalashnikovisme @evilmartians But
@kalashnikovisme @evilmartians What virtual machine is slow?
@kalashnikovisme @evilmartians What virtual machine is slow? (interpreter, runtime)
MRI / YARV - slow ? @kalashnikovisme @evilmartians What virtual
machine? (interpreter, runtime)
MRI / YARV - slow ? @kalashnikovisme @evilmartians JRuby /
JVM - slow ? What virtual machine? (interpreter, runtime)
MRI / YARV - slow ? @kalashnikovisme @evilmartians JRuby /
JVM - slow ? Rubinius - slow ? What virtual machine? (interpreter, runtime)
@kalashnikovisme
@kalashnikovisme
@kalashnikovisme hack yourself
@kalashnikovisme Ruby
@kalashnikovisme Rust
Year of Rust @kalashnikovisme @evilmartians 2022 in the Ruby community
None
None
Proof of concept @kalashnikovisme @evilmartians Let’s make a The fastest
JSON parser Ruby gem ever!!!
https://youtu.be/qxZ2ste7RyA
@kalashnikovisme @evilmartians Ruby Class Magnus Type String RString Integer Integer
Float Float Array RArray Hash RHash Symbol Symbol Class RClass Module RModule
Thanks for watching @kalashnikovisme @evilmartians and don’t forget to subscribe!
@kalashnikovisme @kalashnikovisme kalashnikovisme.medium.com
[email protected]
@evilmartians @evilmartians https://evilmartians.com