Hmm, a strongly-typed functional web language that compiles to , written in .
It can natively handle DOM, as the wasm executable runs in a Node.js runtime, eschewing any need of writing JS at all.


@katyucha Elm compiles to JS whereas Grain compiles to wasm. Grain doesn't need any JS besides the Node.js runtime necessary to manipulate DOM. (wasm cannot handle DOM right now.)

Other than those, it's pretty similar in that it's functional, and statically and strongly typed.
Note that unlike Elm, Grain is still WIP and isn't production ready.

Sign in to participate in the conversation
ACP 🎉🍰

Anticapitalist Mastodon instance. Party means fun, not political party. But we're still political.