Get the latest tech news
Embed Crystal code directly in Ruby
Embed Crystal code directly in Ruby. Contribute to wouterken/crystalruby development by creating an account on GitHub.
However, the abstraction it provides should remain simple, transparent, and easy to hack on and it should not preclude users from supplementing its capabilities with a more direct integration using ffi primtives. Install command to generate a sample build script, and supports build command (which simply verifies then invokes this script) Call Ruby from Crystal using FFI callbacks (implement.expose_to_crystal) Support long-lived synchronized objects (through use of synchronized memory arena to prevent GC). Everyone interacting in the crystalruby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
Or read this on Hacker News