Rust(rustlang) Binding for Houdini , Possibility?
1050 2 2-
- birdperson.me
- Member
- 1 posts
- Joined: 1月 2025
- Offline
I've been learning and writing Rust for over a year now, and I'm really loving it. I'm also seeing Rust being adopted in the industry more and more every day, one example being the Academy Software Foundation forming the Rust Working Group. Will ever be a chance for Houdini to have Rust bindings to develop high performance tools?
-
- vvzen
- Member
- 8 posts
- Joined: 5月 2014
- Offline
That's an area that I'm also very interested in!
I'd love to see this happen, but realistically, the VFX industry is just too deep in C++ so I don't expect anything to happen any time soon. For exploration purposes though I guess you could just write everything that you need in Rust (as a lib crate) and then compile it to a shared library that uses the C ABI (e.g.: https://valerioviperino.me/rust-cpp-ffi), then use the bare minimum of the HDK to use your library using the usual "blessed" C++ workflow (e.g.: https://www.sidefx.com/docs/hdk/_h_d_k__intro__creating_plugins.html).
Worth giving it a try for sure.. now you made me curious to see if it's feasible
I'd love to see this happen, but realistically, the VFX industry is just too deep in C++ so I don't expect anything to happen any time soon. For exploration purposes though I guess you could just write everything that you need in Rust (as a lib crate) and then compile it to a shared library that uses the C ABI (e.g.: https://valerioviperino.me/rust-cpp-ffi), then use the bare minimum of the HDK to use your library using the usual "blessed" C++ workflow (e.g.: https://www.sidefx.com/docs/hdk/_h_d_k__intro__creating_plugins.html).
Worth giving it a try for sure.. now you made me curious to see if it's feasible

-
- alexwheezy
- Member
- 325 posts
- Joined: 1月 2013
- Offline
vvzen
That's an area that I'm also very interested in!
I'd love to see this happen, but realistically, the VFX industry is just too deep in C++ so I don't expect anything to happen any time soon. For exploration purposes though I guess you could just write everything that you need in Rust (as a lib crate) and then compile it to a shared library that uses the C ABI (e.g.: https://valerioviperino.me/rust-cpp-ffi), then use the bare minimum of the HDK to use your library using the usual "blessed" C++ workflow (e.g.: https://www.sidefx.com/docs/hdk/_h_d_k__intro__creating_plugins.html).
Worth giving it a try for sure.. now you made me curious to see if it's feasible
I've already seen such attempts, but this repo is barely active.
https://github.com/elrnv/hdkrs [github.com]
There's also another project that addresses a similar issue via Rust-to-C FFI.
https://github.com/alexxbb/hapi-rs [github.com]
-
- Quick Links