The community's ruby implementation
Ruby imiplemented in 100% ruby, for everyone.
ruby code to binary.
In 100% pure ruby.
The goal here is to prove that dynamic languages do not have to be slow.
Only interpretation is slow, but when ruby is compiled to binary ,it can be really fast.
How fast (X times), will eventually depend on the community. The RubyX approach works, but to create an mri compatible ruby will take many more man-years than i have.
RubyX is here to empower you, to make your ruby shine as much as you like.
Since rubyX is written in ruby, anyone can easily join, and the project is very open to newcomers. In time the idea is to implement a democratic version of open source, as an alternative the current "benevolent dictator" model.
Contrary to what many newcomers think, ruby-x is also technically easy to join. In the end it is just ruby, and only a very small percent of code is low level. We have a list of issues in github for beginners.
The RubyX compiler is working (ie creates binaries), and the architecture has been refined over several years.
A substantial part of the ruby language has been implemented:
- Object oriented calling semantics.
- Basic block creation and passing.
- Dynamic method resolution.
- Control Structures, variables and assignment, integer operators.
- Object based memory.
- A minimal Runtime of classes, types, methods and basic types.
- Risc machine abstraction (includes extensible instruction)
- A minimal Arm and Elf implementation to create working binaries.
But there is still a lot of work, here are just the next few topics
- Dynamic Memory management
- Benchmarks for calling and integer
- Start stdlib with String and files
The short introduction is under the architecture menu.
To get to know the system, there is also an interpreter and a basic visual debugger.
Last but not least, i try to get recent developments down on paper when they are still fresh.