Hacker News new | ask | show | jobs
by paradite 592 days ago
In it's current form, how would I integrate the engine and UI in an existing software with, say Java backend and React front-end?

I couldn't find docs on how to use it in languages other than rust. Perhaps via IPC?

1 comments

At the time of writing, you can use Rust, Javascript and Python bindings.

The React front-end communicates with wasm compiled from Rust.

Java bindings are planed but not in the next ~6 months. A client/serve architecture (like libreoffice does) with IPC or sockets might be a good idea for languages that we don't provide bindings to. also not planned for the next 6 months

> The React front-end communicates with wasm compiled from Rust.

Just to clarify, this means that the entire engine is compiled into wasm and runs inside the browser? There is no server component?

The server:

* Serves the files * Stores if you click share * Converts to xlsx if you download * Imports model

The engine is fully compiled to wasm and run in the browser.