tenderjit
iruby
Our great sponsors
tenderjit | iruby | |
---|---|---|
10 | 6 | |
416 | 823 | |
- | 0.1% | |
7.5 | 4.6 | |
3 months ago | 9 days ago | |
Ruby | Ruby | |
Apache License 2.0 | MIT License |
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.
tenderjit
-
JIT Compilers for Ruby and Rails: An Overview
Clone the repository and run the following commands:
-
Asmrepl: REPL for x86 Assembly Language
JIT makes sense given his other current project: https://github.com/tenderlove/tenderjit
-
YJIT: Building a New JIT Compiler for CRuby
Just in case anybody finds the subject interesting and would like to play with this topic, there's an experimental native-Ruby JIT project by @tenderlove: https://github.com/tenderlove/tenderjit (and the companion native-Ruby assembler Fisk: https://github.com/tenderlove/fisk).
- tenderlove/tenderjit: JIT for Ruby that is written in Ruby (/r/ruby)
-
Hacker News top posts: Sep 23, 2021
Tenderjit – A JIT for Ruby Written in Ruby\ (39 comments)
-
Tenderjit – A JIT for Ruby Written in Ruby
It’s x86-64 only. A quick look at the https://github.com/tenderlove/tenderjit/blob/main/lib/tender... linked from the README reveals heavy references to x86-64 registers. The “Fisk” library used appears to be a x86-64 assembler in Ruby.
I guess that’s to be expected with “pure ruby” — all the cross-insn backends you can use (Cranelift, LLVM) are written in not-Ruby.
- tenderlove/tenderjit: JIT for Ruby that is written in Ruby
iruby
-
Running ruby on Jupiter notebooks
But what to do if you are a ruby developer and irb and pry is not enough for you? Fortunately, with iruby gem you can run ruby code in Jupyter notebooks. So, lets start.
- How do I implement my own kernel like Jupyter?
-
Jupyter Notebooks for Ruby developers
Jupyter is a web app written in Python, so the very first step we need to do is to get your things dirty with Conda and pip. I do not even mention that you must have a fresh Python version on your machine. Next thing would be to install actual Jupyter. Finally, to be ready for some action, you will need to install iRuby which allows you to use Ruby within Jupyter. That’s it. Now you can just start the session with this command jupyter notebook.
- Asmrepl: REPL for x86 Assembly Language
- Why is ruby so fvcking great?
-
Elixir's Livebook - Is Ruby Getting Behind?
Not wholly in ruby, but Jupyter notebooks have been around forever and there is a ruby kernel for it available, and it works great: https://github.com/SciRuby/iruby
What are some alternatives?
WinREPL - x86 and x64 assembly "read-eval-print loop" shell for Windows
cryptopunks - (crypto) pixel punks - libraries, tools & scripts, and more [UnavailableForLegalReasons - Repository access blocked]
duckduckgo-locales - Translation files for <a href="https://duckduckgo.com"> </a>
ruby_decorators - Ruby method decorators inspired by Python.
natalie - a work-in-progress Ruby compiler, written in Ruby and C++
mb-sound - A library of simple Ruby tools for processing sound.
cemu - Cheap EMUlator: lightweight multi-architecture assembly playground
adventofcode - My solutions to the Advent of Code challenges
rhizome - A JIT for Ruby, implemented in pure Ruby
mooncats - MoonCatRescue on the Blockchain - 25 440 MoonCats by ID with Design, Pose, Facing and Colors in RGB and HSL (Hue, Sat, Lum), ... [Moved to: https://github.com/cryptocopycats/mooncatrescue]