Fork me on GitHub
#off-topic
<
2023-05-21
>
Martynas Maciulevičius05:05:35

Several years ago Trafi application's main chunk was written in C++ with Android and iOS as plugins into it. But it was hard to manage because they had to reinvent their own Intents and callback system. They abandoned it because it was hard to maintain. But it's certainly possible.

teodorlu10:05:53

I believe https://roamresearch.com/ is built this way. Core logic in clojure, that runs on the backend (JVM), in the browser (js) and on mobile clients (ClojureDart).

Alejandro Buffery12:05:37

Thanks, that seems similar and different at the same time, no? In the rust case the core logic is totally separated and agnostic to be used directly on the different native and non-native platforms.

teodorlu14:05:35

Similar and different indeed :) Hosted languages like clojure and compiled languages like rust tend to be a bit different.