ruby-implementations
fast-ruby
| ruby-implementations | fast-ruby | |
|---|---|---|
| 3 | 4 | |
| 114 | 5,731 | |
| 0.0% | 0.0% | |
| 10.0 | 3.4 | |
| over 3 years ago | 5 months 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.
ruby-implementations
-
Lightstorm: Minimalistic Ruby Compiler
Fascinating, does the project aspire to become compatible with MRI Ruby? Also how many active Ruby implementations do we have so far?
Edit: Found this, https://github.com/codicoscepticos/ruby-implementations?tab=...
-
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
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
What are some alternatives?
truffleruby - A high performance implementation of the Ruby programming language, built on GraalVM.
Ruby style guide - A community-driven Ruby coding style guide
pyre-check - Performant type-checking for python.
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
rbs - The type signature language for Ruby
contracts.ruby - Contracts for Ruby.