SamSaffron/fast_blank
View on GitHub ↗ ★ 613 Ruby
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2015-09-29 · latest 2016-07-10
20082026
-
…(given both the Ruby and C implementation) make an intelligent decision of which one to use? https://github.com/SamSaffron/fast_blank
comment by matthewrudy · 2016-07-10 · in Why it's important to optimise the tricky parts of Ruby [video] -
…C extension whose main purpose is being super fast. I don't know what fast_blank is. Is it this https://github.com/SamSaffron/fast_blank/blob/master/ext/fas... C code wycatz managed to rewrite faster in Rust? That C code isn't…
comment by bjourne · 2016-06-11 · in Why Rust for Low-Level Linux Programming? -
For those not interested in watching a long video: The C code: https://github.com/SamSaffron/fast_blank/blob/master/ext/fas... The Rust code which is slightly faster: https://gist.github.com/robinsonstrategy/794164e992bec9ca9b8...
comment by brobinson · 2015-10-03 · in Rewriting a Ruby C Extension in Rust: How a Naive One-Liner Beats C -
…) gem, which provides this method via a C implementation instead. It looks like this: https://github.com/SamSaffron/fast_blank/blob/master/ext/fas... For fun, Yehuda tried to re-write `fast_blank` in Rust. Which looks like this: extern…
comment by steveklabnik · 2015-09-29 · in Using Rust with Ruby, a Deep Dive with Yehuda Katz