No JavaScript

Haskell programmers like me who have gotten used to functional programming and static typing find JavaScript to be painful to use. We can’t avoid JavaScript entirely – there are some useful JS libraries out there in the world – however for actual app development we can continue using safer programming languages (see below) via either a JS-transpiler or a Wasm-compiler.

LanguageToolkitsNotes
HaskellGHCJS; Reflex-FRP#; ObeliskDeveloped by a small consultancy (Obsidian Systems) with uncertain future; also see Tweag’s Asterius
F# / .NETBlazorCan expect Microsoft’s investment to provide it a solid future.
Rust1Yew2I’m exploring this since April 5th.

Blog posts on the topic

nojs

  1. Quoting Michael Snoyman, however, “Rust is not a functional programming language, it’s imperative; […] Rust does adhere to many of the tenets of functional programming; […] In many cases, you can easily, naturally, and idiomatically write Rust in a functional stylehttps://www.fpcomplete.com/blog/2018/10/is-rust-functional/

    ↩︎
  2. via https://github.com/yewstack/yew-trunk-minimal-template for JS-less dev tools.

    ↩︎