fast-ruby
ruby-implementations
Our great sponsors
fast-ruby | ruby-implementations | |
---|---|---|
4 | 2 | |
5,639 | 96 | |
0.1% | - | |
4.6 | 10.0 | |
4 months ago | about 1 year ago | |
Ruby | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fast-ruby
-
Sorry for this noobest question
In this perspective, maybe the compilation of approaches by Fast Ruby provides a similar point of entry.
-
Understading why attr_accessor in Ruby is faster than a regular method
Great article! I'm one of the maintainers of the `fast-ruby` project and I was glad to see that we have a benchmark for those idioms over here: https://github.com/fastruby/fast-ruby/blob/master/code/general/attr-accessor-vs-getter-and-setter.rb 🤓
-
Super readable String operations with `delete_prefix` and `delete_suffix`
Stylistically, chomp has a bit more of the whimsy that you might expect from Ruby, while delete_suffix is a nice mirroring of delete_prefix and more explicitly named. Both have similar performance benchmarks and are faster than sub.
-
Ruby 3.0.0 Released
If you’re interested in speed, check this repo: even among Ruby idioms there are big speed differences.
https://github.com/JuanitoFatas/fast-ruby
ruby-implementations
-
Ruby 3.2’s YJIT is Production-Ready
I see the point to make a parallel with HipHop, but here YJIT is directly integrated in CRuby, the main implementation of the language, and it’s just a matter of command line flag whether you enable or disable it — at least from what I remember that I red.
From what I remember, HipHop was distributed in a different toolchain than the vanilla PHP interpreter. Ruby also have other interpreters available by the way: https://github.com/codicoscepticos/ruby-implementations
- Sorry for this noobest question
What are some alternatives?
Rails style guide - A community-driven Ruby on Rails style guide
rbs - Type Signature for Ruby
Ruby style guide - A community-driven Ruby coding style guide
RSpec style guide - RSpec Best Practices
Best-Ruby - Ruby Tricks, Idiomatic Ruby, Refactoring and Best Practices
Fundamental Ruby - :books: Fundamental programming with ruby examples and references. It covers threads, SOLID principles, design patterns, data structures, algorithms. Books for reading. Repo for website https://github.com/khusnetdinov/betterdocs
contracts.ruby - Contracts for Ruby.
are-we-fast-yet - Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays
Functional Ruby
PyCall.jl - Package to call Python functions from the Julia language
mongo_orm - Mongo ORM: A simple ORM for using MongoDB with the crystal programming language, designed for use with Amber. Based loosely on Granite ORM. Supports Rails-esque models, associations and embedded documents.
normandy - Channels for CSP style Ruby