Post

Perhaps I don't know what kind of gleam integration you have in mind? We serialize to/from JSON for typescript. A gleam integration would require similar serialization, but in a situation where no serialization would be necessary for structs.

Yes exactly what i was getting at, gleam runs in more than one place and there are reasons why folks would want elixir on the backend and gleam on the frontend. Lustre could be much more appealing to elixir folks than react imo ^.^

It'd be cool if it'd be possible to call the RPC from any language. I currently work on a project with Elixir server and Elixir client, for example. So I guess I mean language agnostic RPC. Obviously, JS/TS is the most needed, and perhaps the other langs not so much, but that'd be cool.