Главная
Study mode:
on
1
Introduction
2
Ruby is slow
3
CPU bound tasks
4
Common answers
5
Ruby can be fast
6
Why is Ruby slow
7
Indirect function calls
8
Fast Ruby
9
Our Python
10
Our Function
11
Dynamic Languages
12
Ruby Object Model
13
Python Primitives
14
Lightability
15
Promotion
16
Quasiimmutability
17
Building a system
18
Optimized version
19
Sending methods
20
Fine method
21
Three instructions
22
Topaz
23
Constants
24
Links
25
Benchmark Results
26
Complexity
27
C Extensions
28
Hints
29
Cutting Corners
30
Missing Parts
Description:
Explore a conference talk that delves into the performance challenges of Ruby and presents innovative solutions to enhance its speed. Discover why Ruby has gained a reputation for being slow and learn about Topaz, a high-performance Ruby VM built on PyPy technologies. Gain insights into the specific factors that contribute to Ruby's sluggishness, including method dispatch, constant lookups, and allocation of primitives on the heap. Examine optimized versions of Ruby code and understand how to build efficient systems using dynamic languages. Compare Ruby's object model with Python primitives and explore concepts such as promotion, quasi-immutability, and lightability. Analyze benchmark results, discuss the complexity of C extensions, and learn about cutting-edge techniques to improve Ruby's performance. Delivered by Alex Gaynor, a software engineer at Rackspace and contributor to various open-source projects, this talk provides valuable knowledge for developers seeking to optimize Ruby applications and understand the intricacies of language performance. Read more

Why Ruby Isn't Slow

Strange Loop Conference
Add to list
0:00 / 0:00