Skip to content

jextract: should handle asynchronous swift functions #392

Description

@ktoso

It should be possible to call async swift functions from java, and either returning some form of future. We may not be able to hook into JVM's continuation (it is jdk internal), however we should explore what we can do here, including blocking in swift side perhaps...

Activity

  1. madsodgaard commented on Oct 31, 2025

    @madsodgaard
    Contributor

    JNI added support in #413

    We can rename this to FFM only

  2. changed the title [-]jextract should handle asynchronous swift functions[/-] [+]jextract: should handle asynchronous swift functions[/+] on Nov 7, 2025
  3. added theissue type on Nov 7, 2025
  4. ktoso commented on Nov 10, 2025

    @ktoso
    CollaboratorAuthor

    I kinda don't want to make 2 issues for every task; in reality we should be implementing a feature for both... but I can understand if one's own purposes someone focuses only on the legacy mode.

    I'll just keep this open; we can "know" that the jni mode has it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:jextractIssues related to jextract-swift

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions