airstrike 3 days ago

If you count Rust as a "functional language", my personal favorite is iced, which is bloody brilliant and blazing fast https://github.com/iced-rs/iced

It's desktop-first but compiles to WASM

It's honestly "just Rust", so I guess if you're looking for a DSL-type declarative, it doesn't quite fit the bill... but there are design reasons for why it's "just rust" and honestly I much prefer it. It still feels declarative enough

zem 3 days ago

elixir's liveview is perhaps the best known and arguably inspired a lot of the ones in other languages

  • pmarreck 2 days ago

    yes but doesn't that expect view code that looks a lot like HTML and is usually styled with Tailwind?

    • zem 2 days ago

      the view code compiles to elixir code, it just uses html as a familiar syntax. it's written inline as functions in the source code though so I tend to think of it as closer to a "pure elixir" solution.