[RFC] Refactor Android java API to kotlin #10880
Replies: 4 comments 5 replies
-
What are possible cons of doing this? |
Beta Was this translation helpful? Give feedback.
-
More clarity on the outcome would be nice. Ideally a kotin developer with no prior ET knowledge should be able to read the RFC and answer the question, "does this solve my use case" Some linking is ok to reduce the amount of copy paste but users shouldn't have to search around or think too much. Also include the testing / validation process to ensure that things work for kotin engineers, existing java folks aren't broken, and nothing else was broken in the process. |
Beta Was this translation helpful? Give feedback.
-
What about existing JNI layer implementation? Will it change? |
Beta Was this translation helpful? Give feedback.
-
I want to share some perspective for adopting kotlin:
While the executorch android API is continuing to grow, adopting kotlin early would give us all the benefits and also reducing the cost of convention if we do it later. |
Beta Was this translation helpful? Give feedback.
-
Motivation
Expected results
extension/android/executorch_android
will be refactored into kotlin.executorch-android
package, regardless of using java or kotlin in their code, do not need to update their call site. Therefore, minimal impact on existing users.executorch-android
.class files should not change (or minimal) in the refactor.Testing
Beta Was this translation helpful? Give feedback.
All reactions