swiftlang / swiftlang/swift-java
jextract-swift support for generic Swift methods
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 1.2k
- Forks
- 123
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 16
Description
This may be tricky, but we should investigate how much is possible here.
This would likely require help from Swift emitted thunks, as the way that metadata is passed may be non-trivial.
Perhaps we can handle some simple cases at first though.
Generic signatures are non trivial in Swift, so this would require additional information from the Swift interfaces to somehow make it "managable", see: https://github.com/swiftlang/swift/blob/main/docs/ABI/GenericSignature.md
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 reading Swift's GenericSignature documentation linked in the issue, then investigate how Swift emitted thunks pass metadata and what information Swift interfaces expose. The issue's initial scope would be to determine whether simple generic Swift methods can be supported; no source files or tests are named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100