← Back to context

Comment by Lio

8 hours ago

Well they're similar enough for this project to work:

https://github.com/wouterken/crystalruby

It allows you to call crystallize on a ruby method and then have it recompile with crystal and called over FFI, which is pretty neat.

It would be really cool if this trb syntax could get close to the crystal syntax for method signatures at least.

I'd love to be able to move chucks of hot code to Crystal but leave everything else in ruby for compatibility with existing projects.