News for hackers. Stuff that matters.
Re:Why Elm? [pdf] by bauerd on Monday May 08, 2017 @05:28PM (#14295772)
Off-topic, but here I go: Has anyone tried compiling Elm's compiler (written in Haskell) to JS (with ghcjs)? Are there any other small and approachable functional languages that are in-browser compilable and provide JS interop? I'd love to hack on a small Agent Based Modelling environment for the browser, comparable to what NetLogo[1] achieves in large on the desktop. Or maybe just make it a LISP?

[1] https://ccl.northwestern.edu/netlogo

Re:Why Elm? [pdf] by firethief on Monday May 08, 2017 @07:54PM (#14296639)
Since you don't seem set on a language, let me throw my hump in for OCaml. It's supports a functional style without forcing you to use it for everything; js_of_ocaml compiles OCaml's dense, high-performance bytecode to Javascript that apparently integrates well with web APIs.
Re:Why Elm? [pdf] by sjrd on Tuesday May 09, 2017 @01:42AM (#14297966)
Since you mention NetLogo, note that it has a Web version whose compiler is written in Scala.js.

(The Scala.js compiler itself does not run in the browser, though.)