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
0
420
Ruby is not slow anymore
Slide 25 has the video. You can find it here
https://youtu.be/qxZ2ste7RyA
Pavel Kalashnikov
April 03, 2023
Tweet
Share
Other Decks in Programming
See All in Programming
Javaプロファイラの信頼性とバイアスへの付き合い方
kazumura
4
310
ゼロから始める型安全なGraphQL開発
shachi_daikon55
0
100
CSC307 Lecture 01
javiergs
PRO
0
220
あらゆるアプリをCompose Multiplatformで書きたい! -ネイティブアプリの「あの機能」を私たちはどう作るか-
subroh0508
1
650
iOS 開発で便利なツールたち
mitsuharu
0
130
Android アプリのプロジェクトをモダンにし続ける工夫
numeroanddev
1
390
KotlinのLinter まなびなおし2024
nyafunta9858
0
1k
イベント駆動アーキテクチャ導入の手引きと共通の落とし穴 / Guide to Implementing Event-Driven Architecture and Common Pitfalls
nrslib
12
3.8k
チームの成長を促すためのスプリントレトロスペクティブの活用法 / How to use sprint retrospectives to promote team growth
mackey0225
4
540
Cloudless Computingの論文紹介
yuukit
1
200
スタートアップ企業が実践する「身の丈スクラム」の現在地 / Current State of 'Right-Sized Scrum' Practices in Startups
ar_tama
11
3.4k
Kotlin Collection関数をマスター
masayukisuda
0
2k
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Fashionably flexible responsive web design (full day workshop)
malarkey
399
65k
Documentation Writing (for coders)
carmenintech
61
4.1k
How to Ace a Technical Interview
jacobian
273
22k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
13
1.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
359
22k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
28
1.8k
Building an army of robots
kneath
300
42k
What's in a price? How to price your products and services
michaelherold
238
11k
Clear Off the Table
cherdarchuk
87
320k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
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