Skip to content

Commit 358bc50

Browse files
committed
remove jextract todo list from WIP, we use github issues now
1 parent 716c599 commit 358bc50

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

WIP.md

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -32,50 +32,3 @@ improve:
3232
- [ ] Investigate "unbridged" variants of String, Array, etc.
3333
- [ ] Investigate the new [Foreign Function & Memory API](https://bugs.openjdk.org/browse/JDK-8312523) (aka Project Panama) for exposing Swift APIs to Java.
3434

35-
36-
### jextract-swift
37-
38-
Separate todo list for the jextract / panama side of the project:
39-
40-
Calling convention:
41-
- [x] Call swift methods, take parameters, return values
42-
- [ ] How to call a **throwing** Swift function from Java
43-
- [ ] How to call a **generic** Swift function from Java
44-
- [ ] How to pass "call me back" (Callable, Runnable) to Swift, and make an **up-call**
45-
- [ ] How to support passing a struct **inout** `SwiftValue` to Swift so that Java side sees change
46-
47-
Bridges:
48-
- [ ] Java **Optional** / Swift Optional - depends on generics (!)
49-
- [ ] Efficient **String** / SwiftString wrappers and converters
50-
- [ ] Handle byte buffers and pointers properly
51-
- [ ] Converters for **Array**
52-
- [ ] Converters for **List** and common collections?
53-
- [ ] expose Swift collections as some bridged type implementing java.util.Collection?
54-
- [ ] Import Swift **enums**
55-
56-
Importer:
57-
- [x] import global functions into the `Module.theFunction` on Java side
58-
- [x] import functions with parameters
59-
- [x] import functions return values
60-
- [ ] import instance member functions using "wrapper" pattern
61-
- [ ] handle types like `[any Thing]?`, we can't parse them right now even
62-
- [ ] support nested types in Swift
63-
- [ ] handle types like `any Thing`, importer does not understand `any` or `some`
64-
65-
Programming model:
66-
- [ ] Which style of ownership for Java class wrapping a Swift Class
67-
- [x] __allocating_init, how to release/destroy from Java
68-
- [x] Offer explicit swift_**release** / swift_**retain** functions
69-
- [ ] Offer some way to make Immortal class instance
70-
- [ ] **SwiftArena** which retains/destroys underlying Swift class?
71-
- [ ] How to create a Swift struct
72-
73-
Swift Compiler work:
74-
- [x] Expose **mangled names** of types and methods in .swiftinterface
75-
- [ ] Expose **@layout** of class, struct etc. types in .swiftinterface
76-
- [ ] Expose `demangle` function to human-readable text; it'd be good for usability
77-
78-
Build:
79-
- [x] Gradle build for Java parts of samples and "SwiftKit" utilities
80-
- [x] Build Swift dependencies when building Java samples automatically
81-
- [ ] JMH benchmarks

0 commit comments

Comments
 (0)