Skip to content
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

Ahnlich for mobile? #129

Open
deven96 opened this issue Oct 20, 2024 · 0 comments
Open

Ahnlich for mobile? #129

deven96 opened this issue Oct 20, 2024 · 0 comments
Labels
enhancement New feature or request experimentation Experimenting on things help wanted Extra attention is needed

Comments

@deven96
Copy link
Owner

deven96 commented Oct 20, 2024

How easy would it be to introduce using ahnlich on mobile?

Several factors I think we can consider at the moment

  • Compilation: If we use cargo-ndk, we can build rust code to target android as a first step https://github.com/bbqsrc/cargo-ndk
  • IPC: Currently the DB and Proxy are accessed via TCP sockets. Running locally on the same metal as the android client however, we can look to use Unix Domain Sockets and further speed up IPC as UDS can sometimes be twice as fast as TCP
  • Server Support: A bit of skepticism as to if we can run the Proxy (or if we even want to) on mobile. The Proxy currently bootstraps some heavy models and stores the original in the DB. The latter leading to unnecessary duplication.
  • Library Support: The core serde typegen lib being used has an experimental Dart support but more work is currently underway to stabilize and would be really useful in providing a Flutter client to communicate with the packaged binary
@deven96 deven96 added enhancement New feature or request help wanted Extra attention is needed experimentation Experimenting on things labels Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request experimentation Experimenting on things help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant