One of Rust's great advantage is safe parallelism/concurrency. If we build a native extension using Rust, are we able to use parallelism from a Ruby API? Or will the GIL (or something else) somehow prevent that from happening?
I assume that, as long as we are only interacting with Rust's data structures and not crossing the boundary to the Ruby VM, it should be possible.
Investigate and provide the answer as to whether we can architect our Ruby APIs using Rust's parallelism.
One of Rust's great advantage is safe parallelism/concurrency. If we build a native extension using Rust, are we able to use parallelism from a Ruby API? Or will the GIL (or something else) somehow prevent that from happening?
I assume that, as long as we are only interacting with Rust's data structures and not crossing the boundary to the Ruby VM, it should be possible.
Investigate and provide the answer as to whether we can architect our Ruby APIs using Rust's parallelism.