Matrix voice with Rust

Hi everyone,

I wanted to know if any of you had managed to integrate matrix voice with the programming language rust. And if so, if you could share your advice and methods, it would help me a lot!

Thank you !

Hey @HelloEdit,

We don’t have native support for Rust, but a possible solution is to expose our HAL C++ library as C to then call from Rust.

If it helps, you can look at our MATRIX Lite libraries for reference. It works by exposing HAL functions for a specific language. The JavaScript implementation is a Node.js addon and our Python implementation is achieved by using SWIG.

Hopefully this can give you a direction to start in, but let us know if you have any more questions.

Hey @HelloEdit!

… a little late, but I remembered this post and wanted to share that we’ve started creating a library to re-implement HAL in Rust (RHAL).

Although nothing is thoroughly tested or polished yet, the library is available on for anyone that wants to test.


I don’t know if is possible but it would be super cool if we could compile HAL to webassembly and then use it in like any language with wasmer.