Hacker News new | ask | show | jobs
by ritchiey 2794 days ago
You don’t need to wait for web-assembly to solve these problems.

TA mentions 3 languages (Elm, Reason & Purescript) that combine sound type-checking and immutability right now.

None of these bring the cognitive overhead of Rust’s borrow checker and, in the case of Reason at least, compile at lightning speed to readable (though optimised) JS.

2 comments

Purescript also has a nice escape hatch as OP desires because it has a native JavaScript ffi unlike, say, elm.
Don't forget F# with Fable :)