-
Notifications
You must be signed in to change notification settings - Fork 12
Need full examples (2 as minimum) of integration Kotlin Multiplatform with Rust #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
thanks for awesome work. I created sample project using Kmp wizard and after following instructions in readme was able to get attached super simple example working on Android, iOS, JVM. Everything went smooth, couple of small issues i faced were following (not mentioned in docs)
Wasm support seems to be missing. And i found this old issue. Issue is still open and is referring to old repo (maybe its worth mentioning in issue about new repo?) It would be great to get Wasm working as well, it looks like there is some type of support for wasm already there mozilla/uniffi-rs#2417 if i'm not mistaken Feel free to add this simple example to existing ones if you think its worth :) |
Wasm: As of now nothing gets generated for wasm, and sample project wouldn't compile/run wasm target. Would it be possible to generate e.g. |
@miduch Thanks for the example! I'll check it when I get started working on making integration tests.
Yes, it seems UniFFI now supports wasm, but I haven't started working on it. If you need stub classes and functions for WASM, I'll try including them in 0.1.1 (or 0.2.0? thinking of it, the Gradle DSL has to be changed). The actual implementation needs more time. |
The AtomicFU issue should be discussed here: #15 |
IMO, one example should use WGPU. WGPU interoperability shows two things:
To make a WGPU demo, we need Rust bindings to JAWT, which is in a private repo right now. |
Do you mean GC? When/If someday there is support for WASM, an example for that would be great too :) |
Original issue: https://gitlab.com/trixnity/uniffi-kotlin-multiplatform-bindings/-/issues/68
Hello! I need create bindings between kotlin multiplatform and rust. And I want use it, but I can't find full examples with uniffi, rust and kotlin multiplatform, and it is barrier for me to start using it. May who was using it. Thanks for your future help 🙏🏻
Maybe I have skipped examples, but I dont have been seeing minimal full examples, because documentation cant give enough understanding of how to work with it in real project.
I hope you will seen this and something will changed maybe. Your work on this plugins is awesome and I support you))
The text was updated successfully, but these errors were encountered: