2 ms·
> Grain is a language compiled to WebAssembly. So comparing it with either Javascript or Elm is pointless This ability is a tool and nothing precludes a wasm t
by masklinn 8y ago
> Grain is a language compiled to WebAssembly. So comparing it with either Javascript or Elm is pointless
This ability is a tool and nothing precludes a wasm target for Elm (in fact Evan specifically expressed interest in it: https://github.com/WebAssembly/gc/pull/1#discussion_r111501121 https://github.com/WebAssembly/gc/pull/1#discussion_r1115011...).
Either way, comparing Grain to JS or Elm is anything but pointless, at the end of the day it's competing with them.
- bad_user 8y agoIf we're speaking of competition and JavaScript, then a much stronger competitor would be PureScript. http://www.purescript.org/ http://www.purescript.org/ PureScript is a Haskell dialect that was built specifically to run on top of JavaScript engines. Specifically, compared with Haskell, it is strictly evaluated (whereas Haskell is non-strict / lazy, well almost). However it eliminates some of Haskell's baggage, but retains Haskell's functional purity. It's all around an awesome programming language for FP that targets JavaScript engines, far surpassing any other attempt.