Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Lunatic.Solutions #427

Closed
gwpl opened this issue May 15, 2023 · 2 comments
Closed

Compatibility with Lunatic.Solutions #427

gwpl opened this issue May 15, 2023 · 2 comments

Comments

@gwpl
Copy link

gwpl commented May 15, 2023

Is possible compatibility with https://lunatic.solutions/ ?
Would it be possible to provide libraries, allowing one codebase to work on a top of Lunatic.solutions and Elixir via WASMEX? cross-linking: lunatic-solutions/lunatic#208 and https://twitter.com/GWierzowiecki/status/1658220520414822406

@tessi
Copy link
Owner

tessi commented Jun 3, 2023

I guess, lunatic is a web framework (at least as far as i understand) where you can implement handlers for certain paths in WASM. It should be possible to use a combination of phoenix and wasmex to emulate lunatics approach.

feel free to try and report back :)

@tessi tessi closed this as completed Jun 3, 2023
@gwpl
Copy link
Author

gwpl commented Jun 5, 2023

My understanding is that Lunatic is implementation of idea of OTP known from Erlang ( https://en.wikipedia.org/wiki/Open_Telecom_Platform ), which is runtime environment for programming basd on actor model .

As I read about WASMEX:

Wasmex is a fast and secure WebAssembly and WASI runtime for Elixir.

Let's assumed actor that is processing incoming messages, and is compiled in WebAssembly.

I can imagine such running/existing both, with help of WASMEX and on Lunatic.

Therefore question arised, if there couldn't be a way/framework/template/ substet (DSL , domain specific language), that would allow certain level of intercompatibliity, allowing to reuse big chunks of actors written on one framework to be used on another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants