tenderjit
mb-sound-jackffi
Our great sponsors
tenderjit | mb-sound-jackffi | |
---|---|---|
10 | 2 | |
417 | 2 | |
- | - | |
7.5 | 0.0 | |
3 months ago | over 1 year ago | |
Ruby | Ruby | |
Apache License 2.0 | BSD 2-clause "Simplified" 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
mb-sound-jackffi
-
Tenderjit – A JIT for Ruby Written in Ruby
Yeah, here's my main sound repo: https://github.com/mike-bourgeous/mb-sound
There's also an FFI wrapper for jackd: https://github.com/mike-bourgeous/mb-sound-jackffi
I'm certain there are still improvements that could be made to the APIs and to performance, so I'm not currently releasing these on rubygems.
-
Torvalds: Shared libraries are not a good thing in general
Shared libraries and dynamic linking make writing FFI wrappers in other languages possible. If every library were statically linked, I wouldn't be able to write things like this: https://github.com/mike-bourgeous/mb-sound-jackffi
What are some alternatives?
WinREPL - x86 and x64 assembly "read-eval-print loop" shell for Windows
reprepro-updater
duckduckgo-locales - Translation files for <a href="https://duckduckgo.com"> </a>
mb-sound - A library of simple Ruby tools for processing sound.
natalie - a work-in-progress Ruby compiler, written in Ruby and C++
spinnaker_sdk_camera_driver - Point Grey (FLIR) Spinnaker based camera driver (Blackfly S etc.)
pointgrey_camera_driver - ROS driver for Pt. Grey cameras, based on the official FlyCapture2 SDK.
cemu - Cheap EMUlator: lightweight multi-architecture assembly playground
spinnaker_sdk_camera_dri
rhizome - A JIT for Ruby, implemented in pure Ruby