Help me choose between LiveView and Vue

Absolutely, the future is web components and wasm may open up writing elixir components for the front end. I have my eye on Hologram which I commented on here and which could provide a pathway to wasm web components written in elixir via transpilation to wasm via the LLVM based emscripten.

Another option is “just” porting the Erlang VM to target WebAssembly. One possibility is using the zig wasm compiler which can compile zig and C code which Erlang VM is written in. There is also WASI that provides a standardized method for importing libraries such as POSIX compat libraries which could support such a port. Not going to lie that it will be a large bundle for a typical release so direct transpilation of Elxir code is probably the best way forward.

Zig is already making progress with wasm here.

Another possibility which has some impressive POSIX coverage is WASIX which could make an Erlang port to WebAssembly quite feasible.

2 Likes