Re:Ruby 3.2.0 Released
by matheusmoreira on Sunday December 25, 2022 @04:56AM
(#34125789)
I didn't know Ruby had Rust support, that's seriously awesome. I suppose Rust extensions use the C ABI.
[ Parent
| on HN ]
The template generated with bundle gem —-ext=rust uses the Magnus[1] library that provides a high-level friendly Rust wrapper over the Ruby C API, but you can also use rb-sys[2] which is lower level bindings direct to the Ruby C API.
[1]: https://github.com/matsadler/magnus [2]: https://github.com/oxidize-rb/rb-sys