Closed AndreyMihaylovDron closed 3 months ago
Yes, but you need export your Rust function into a dynamic library with C interfaces, and wrap your functions with adapters for communicating and converting your values for the HVM.
You can read how to do that here https://github.com/HigherOrderCO/Bend/blob/main/docs/ffi.md. We're still working on refining the ffi interfaces, so you can expect it to become easier to write your bend libraries in other languages in the future
This is cool, thanks!
Hi, is it possible today to create package on rust and then import to bend as library or something?