MAGE Got One More Wizard Called Rust
Blog post from Memgraph
MAGE is an open-source repository designed to enhance Memgraph's capabilities by supporting various programming languages, and it has recently introduced full support for Rust, complementing the existing C/C++ and Python options. Rust is highlighted for its ability to balance performance and ease of development, offering a middle ground between the deep memory management required by C/C++ and the quick prototyping capabilities of Python. The implementation of Rust support, which took about 16 weeks to complete, involved designing a Rust API that interfaces with the underlying C API, despite challenges like optimizing performance to minimize value copies. Future plans for the Memgraph ecosystem include further development of the library code and the addition of new query modules, with an invitation for community contributions to both the library code and practical applications.