Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Code Is What Code Does
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
brixen
August 22, 2014
Technology
440
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Code Is What Code Does
Madison+ Ruby 2014
brixen
August 22, 2014
Transcript
60 slides
Code Is What Code Does @brixen
I <3 Ruby
None
None
None
We live in a world filled with hard problems
watsi.org
People are leaving Ruby
Haskell Go Clojure Scala Node.js Rust Javascript Elixir
Businesses are not choosing Ruby
Ruby has problems
Too slow
0 1.25 2.5 3.75 5 Rubinius v1 Rubinius JIT v1
Rubinius v2 MRI 2.1
No concurrency
0 1 2 3 4 Rubinius MRI 2.1
Too much memory
0 22.5 45 67.5 90 Hash 1 Hash 2
Not compiled
Monkey patching
$ rbx! irb(main):001:0> "abc".clear! => ""! irb(main):002:0> require "./some_gem.rb"! =>
true! irb(main):003:0> "abc".clear! => "nope"! irb(main):004:0>
irb(main):003:0> "abc".clear! => "nope"! irb(main):004:0> "abc".method :clear! => #<Method: String#clear
(defined in String at some_gem.rb:2)>! irb(main):005:0>
None
Static types
Why use static types?
Correctness 1
Adding types does not make correct code more correct
Speed 2
0 1.25 2.5 3.75 5 Rubinius v1 Rubinius JIT v1
Rubinius v2 MRI 2.1
Maintenance 3
Adding complexity does not improve understanding
Ruby is a better choice
Programming is too hard
We are too slow
We fail a lot
The Cynefin framework
Simple Sense • Categorize • Respond 1
Simple Sense • Categorize • Respond 1 Best Practice
Complicated Sense • Analyze • Respond 2
Complicated Sense • Analyze • Respond 2 Good Practice
Complex Probe • Sense • Respond 3
Complex Probe • Sense • Respond 3 Emergent Behavior
Chaotic Act • Sense • Respond 4
Chaotic Act • Sense • Respond 4 Novel Solutions
Clay vs concrete
B.C. A.D.
B.C. A.D. Before compilation After deployment
Read Eval Print Loop
Study Experiment Check Loop
Assumptions help us solve problems
Assumptions hinder our efforts
Technical debt Cost to experiment
Refactoring Rework
We live in a world filled with hard problems
Let's make programming easier
Let's test our ideas more quickly
Let's fail more productively
Improve the world
Try Rubinius github.com/rubinius/rubinius
Thank you!
• http://winstonyw.com/2013/06/12/reddotrubyconf_2013_-_thank_you/ • https://www.flickr.com/photos/veganstraightedge/6037027106/ • http://www.europeancarweb.com/news/ epcp_1010_audi_e_tron_spyder_creation/photo_13.html • http://thisisbuildingmaterials.blogspot.com/2012/03/examples-of-famous- concrete-buildings.html
Credits
More Decks by brixen
See All by brixen
Stop making mud pies!
brixen
0
150
Papers We Love - Immix mark-region garbage collector
brixen
2
790
An Ensemble of Programming Languages: How to Build a Platform for Collaboration
brixen
0
330
Types As Premature Optimization
brixen
2
620
Rubinius X
brixen
3
320
Augmented Ruby: The Rubinius Language Platform
brixen
2
190
The Future of Ruby
brixen
1
370
Rubinius, and the Future of Ruby
brixen
2
310
So you want to design a programming language
brixen
1
190
Other Decks in Technology
See All in Technology
ノードが消える前提で設計する!Karpenterで金融システムを止めないためのノウハウ大全
daitak
1
270
VTuberになってみた話
yoshimura_datam
0
140
Amazon ECS ネットワークモード選びに悩まない ~検証を通じて見えたネットワークモードの選び方~ / 20261114 Masaki Okuda
shift_evolve
PRO
2
170
FPGAでアクティブセンシングがやりたくてカメラモジュールを自作した話
ryuz88
0
170
ローカルLLMによるデジタルフォレンジック支援ハーネスの設計と実装
sumeshi
0
760
リリースしたで終わらない。 観測できるフロントエンド開発
yamakenji24
4
2.1k
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
21
24k
AI時代の開発組織における、QAの体制とロールの再設計
sansantech
PRO
0
150
AIが学べる子供の夏休みの自由研究教材を作ったが空振りだった話
yoshimura_datam
0
130
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
1
410
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
5.5k
想定外の利用がプロダクトの価値を広げる
lycorptech_jp
PRO
0
150
Featured
See All Featured
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
860
A better future with KSS
kneath
240
18k
GraphQLとの向き合い方2022年版
quramy
50
15k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
Crafting Experiences
bethany
1
460
Building Applications with DynamoDB
mza
96
7.3k
Navigating Team Friction
lara
192
16k
It's Worth the Effort
3n
188
30k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
640
Evolving SEO for Evolving Search Engines
ryanjones
0
380
Optimising Largest Contentful Paint
csswizardry
37
4k