pmdk
pmdk copied to clipboard
Can PMDK used with Rust Program language?
QUESTION:
Details
Can PMDK used with Rust Program language? I have a system that program by Rust . Do I have other way to adapt my system to NVM / DCPMM instead of overwriting whole my codes?
PMDK doesn't ship with Rust bindings. But there are some PMem-related crates. If you want something high-level, I recommend looking into https://crates.io/crates/corundum.
We are also thinking about creating pmem2 rust crate, but there are no immediate plans. Can you explain your use case a little bit more?
So if I want use pmem with rust language, should I write assembly language , such as clflush / fence in my rust codes?
I guess the answer is yes. Unless anything more robust has been created for Rust developers in the meantime which I am not aware of.
Hope your project has developed well since you asked this question. Best of luck!