Sam Ruby (@samruby) header
Sam Ruby (@samruby) profile picture

https://www.teapawt.net/t.co/Vfbxo6yzUw Rails Specialist. Open Web Communities. he/him

Raleigh, NC
Joined March 2009
Photo by Sam Ruby (@samruby)Photo by Sam Ruby (@samruby)Photo by Sam Ruby (@samruby)Photo by Sam Ruby (@samruby)Photo by Sam Ruby (@samruby)Photo by Sam Ruby (@samruby)Photo by Sam Ruby (@samruby)Photo by Sam Ruby (@samruby)Photo by Sam Ruby (@samruby)Photo by Sam Ruby (@samruby)
Sam Ruby retweeted
Scary moment at the Lenovo Center tonight. During the final 7 minutes of his show, Gabriel “Fluffy” Iglesias appeared to nearly collapse and needed oxygen. Hoping he’s okay and makes a full recovery. 🙏
3
9
1
48
7,473
Sam Ruby retweeted
RoundhouseのデモブログRailsアプリをSpinel+Fluxpinelでビルドして、走ってるサーバと並行に動くIRBセッションを開けるようになった。 モデルクラスを直接ごにょごにょできる。メソッドの動的定義もできる。Relineによる補完も利く。これはえらいのでは
FluxpinelでRelineとIRBが動くようになった。 RUBY_ENGINE #=> "spinel"(ここ重要) evalできるし、メソッド補完も利きます。やったね!
2
12
30
3,533
Sam Ruby retweeted
Roundhouse has a progress page now roundhouse-rb.dev/progress/
3
2
16
1,362
A manager once told me to quit. Today, I'm an official collaborator on roundhouse-rb with @samruby. I’m not a programming genius. But I embraced AI, dropped the ego, and focused on progress. Believe in yourself. Build. Create a better world.
1
2
229
Sam Ruby retweeted
more true than ever
A huge amount of the Anti-AI code sentiment massively overestimates the quality of human code outside of a very small set of open source and high quality company codebases. Human Slop is everywhere and can trivially be improved on by any opus level model.
91
102
8
1,875
127,879
Sam Ruby retweeted
Replying to @samruby @stefanomaz
1
2
196
Sam Ruby retweeted
I've been a casual contributor to @yukihiro_matz’s Spinel project, so I made a single page intro to the parts I found most interesting: - What it does - How it performs - Its development pace st0012.dev/spinel?v=1
1
13
3
93
7,404
Sam Ruby retweeted
Heaven is where the compile speed is from Go, the safety from Rust, the performance from C++, the libraries from Python, the macros from Lisp, the stability from Java, the types from Haskell, the ubiquity from JavaScript, and the error handling from Elm. Hell is where the compile speed is from Rust, the safety from C++, the performance from Python, the libraries from Lisp, the macros from Java, the stability from Haskell, the types from JavaScript, the ubiquity from Elm, and the error handling from Go.
53
116
14
1,173
50,842
Transpiler update: Compiling an internal Rails API into a single native binary with #roundhouse + #Spinel. Today: 16 PRs merged upstream, 6 issues filed. • Binary builds ✅ • Gaps the compiler can't model: 39 → 25 (−36%) • 111/173 routes answer like Rails • Mastodon as a 2nd test app: 65 → 60 gaps
1
221
Sam Ruby retweeted
Just released Prism v2.0.0. For the first time ever, Prism has no open issues, PRs, discussions, or redmine tickets. A couple of highlights below.
2
10
68
2,889
Compiling a real production @rzilient_club Rails API into a single native binary with #roundhouse + #Spinel (AOT Ruby → C): it now builds, boots and serves, with responses checked field by field against Rails. Along the way: 69 PRs merged into roundhouse and 31 Spinel bugs filed (all 31 fixed). Next: a full route-by-route comparison against Rails. And for Mastodon, following @samruby 's advice, the new Futamura target, keep Rails and the gems, then profile and specialize the hot spots.
1
206
When you think about a Ruby on Rails conference in India, what do you imagine? 💃💃💃Of course we danced, and not only on stage! At @hideccanqueen 🔥
6
8
3
69
3,704
I often use Data class like that. Roundhouse (by @samruby) didn’t support it yet, so I have prepared a PR to fix it. github.com/rubys/roundhouse/… Thanks to @thomasklemm for the help with merging here!
2
47
3,415
Sam Ruby retweeted
Readability/elegance vs performance... Why not both?
1
7
490
Less than one day after @yukihiro_matz merged windows support, it's possible to write Ruby inside a browser window and download compiled binaries. (* The binaries build in your browser, but you are trusting the buildchain downloaded from my server) chunkybacon.idogawa.com/en/s…
2
4
415
Sam Ruby retweeted
Oh FFS. It turns out the req/s in the initial vibed Rust version is within the same order of magnitude as the initial vibed Elixir/Go versions, and even performs worse in some of them. The history is in the repository! The Rust version only got faster with a bunch of additional work. The initial Elixir/Go versions presented in the tweet below saw none of this additional work. It was comparing a 300 commits Rust version with a 2-3 commits Elixir/Go version. Source: github.com/basecamp/once-cam…
I've had agents implement and optimize the Campfire web app in Elixir, Go, and Rust. Yes, Ruby is the slowest. I didn't care about that when the pay-off was huge in terms of productivity and developer joy. But if you're no longer reading the code? github.com/basecamp/once-cam…
Readers added context they thought people might want to know
The shown benchmarks use non-equivalent implementations: Elixir routes all DB queries through a single GenServer with Redis for jobs (retained from Rails), while Rust uses in-process queues, omits CSRF tags/fields, and applies other caching changes. github.com/basecamp/once-… raw.githubusercontent.com/basecamp/once-… github.com/basecamp/once-… github.com/basecamp/once-… x.com/zachsdaniel1/s…
77
109
32
1,358
170,761
I'm still 100% convinced that Ruby can be the programming interface that people and agents can use in the AI age. It's the perfect language to abstract away the obvious and only leave the human decided part. And it's fast enough and can be as fast as lowlevel langs with Spinel.
I'm surprised there aren't more discussions about Campfire compiled with Roundhouse + Spinel. - No code changes required (still Ruby) - Very competitive in the benchmarks - Winner in terms of effort/energy/tokens AI will improve all ecosystems. A rising tide lifts all boats.
5
3
42
1,806
Sam Ruby retweeted
Replying to @hopsoft
Spinel + Roundhouse is incredibly exciting. It's absurdly ambitious in just the right way and very open to open source contribution. Join the party. I'm committed to getting BitterClip to compile, which 3 million lines Rails!
1
1
187