Rust FFI + Mojo: binding uuid-rs for Mojo
projects:
- https://github.com/better-mojo/uuid
prefix.dev (packages)
- 2 packages here!
- https://prefix.dev/channels/better-ffi/packages/libuuid_ffi
- https://prefix.dev/channels/better-mojo/packages/uuid_mojo
GitHub
GitHub - better-mojo/uuid: binding a mojo version of rust uuid.
binding a mojo version of rust uuid. Contribute to better-mojo/uuid development by creating an account on GitHub.
prefix.dev
prefix.dev – solving software package management
The software package management platform for Python, C++, R, Rust and more
prefix.dev
prefix.dev – solving software package management
The software package management platform for Python, C++, R, Rust and more
11 Replies
Congrats @AkaHenry, you just advanced to level 3!
build rust-ffi
GitHub
uuid/packages/uuid-ffi at main · better-mojo/uuid
binding a mojo version of rust uuid. Contribute to better-mojo/uuid development by creating an account on GitHub.
uuid-mojo
- https://github.com/better-mojo/uuid/tree/main/packages/uuid-mojo
Blog
- https://github.com/hhstore/blog/issues/434
GitHub
uuid/packages/uuid-mojo at main · better-mojo/uuid
binding a mojo version of rust uuid. Contribute to better-mojo/uuid development by creating an account on GitHub.
GitHub
Mojo FFI: Build and Publish a mojo package based on the Rust librar...
📖 Abstract: ✅ 构建并发布一个基于 Rust 库 + FFI binding 实现的 Mojo 包。 💯 Related: ✅ #433 ✅ #432 ✅ #355
Hello everyone, I have successfully turned a rust library into a mojo library through ffi binding, and successfully published it to the prefix.dev package management platform.
If you need it, you can refer to my project's build script to bind the rust library.
This is an example project that you can refer to to bind any rust library to a mojo library.
That's great! Thanks for making this!
@AkaHenry would you be interested in sharing this project during our community showcase/meeting on October 21st?
Thank you very much for having me.
However, my spoken English is not fluent enough, and participating in the live broadcast may not work well and may not be explained clearly. 🤣
I plan to write an English blog to record in detail the development process of the entire library, some problems encountered, precautions, and solutions.
Or, if someone else, based on my blog and project, is willing to participate in the live sharing on my behalf, I would also be grateful.
No worries! Whatever you're comfortable with works for us 🙂 If you do plan on writing a blog post, that's something we'd love to publish / amplify on the Modular site too – I'll shoot you a DM to discuss further
Ok, I'll write the tutorial for building this library as soon as possible, and then send it to you, and I'll publish it here as well. 😄