Skip to content

Create Rust with Dart FFI implementation (Rust for image processing, Flutter for UI) #3

@enzoftware

Description

@enzoftware

Task Overview:

  • Implement a new architecture using Rust for image processing logic, exposing functions via FFI.
  • Integrate with a Flutter front-end (Dart) for cross-platform UI.

Detailed Steps:

  1. Design the Rust library exposing image processing functions (e.g., filters, transformations) via FFI.
  2. Set up the FFI interface using #[no_mangle] functions and C-compatible types.
  3. Create a Dart wrapper using dart:ffi to bind to Rust functions.
  4. Develop a Flutter UI that calls Rust via FFI for processing images.
  5. Write integration and unit tests to ensure reliability and performance.
  6. Document architecture, build steps, and usage in the README and code comments.
  7. Compare performance and capabilities with the existing C and Android implementations.
  8. Add automation for building and publishing the Rust library for multiple platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions