Closed charlag closed 9 months ago
It seems like JS is out because JsEngine does not allow injecting callbacks and running node directly seems to be infinite pain.
It seems like Dart is out because it can generate Dart bindings from other languages but doesn't seem to be consumable from other languages.
Rust would be possible in native with uniffi
. It should work in web with wasm_bindgen
.
Kotlin/WASM does not work on Safari currently and d.ts output is experimental
We did a writeup with results here: https://github.com/tutao/tutanota/pull/6453#issuecomment-1935704047
Mobile integrations will require us to interact with API from the native code. We would like to have an SDK that can be used from all apps, from both web and native contexts.
Requirements:
Some options: