swiftlang / swiftlang/swift-java
jextract: should handle asynchronous swift functions
Open
Nobody has claimed this yet.
feature:jextract
- Dominant language
- Swift
- Stars
- 1.2k
- Forks
- 123
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 16
Description
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...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by investigating jextract's handling of async Swift functions and the existing Swift-to-Java interop path. Clarify whether the supported design should return a future-like value or block on the Swift side, and define the expected behavior for callers before implementation begins.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, swift
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100