News for hackers. Stuff that matters.
Re:Faithful Elm and the Amazing Router by twoquestions on Thursday June 16, 2016 @11:06AM (#11916625)
Do you have a source for this? I'd be interested in their reasoning.

You'd think Beam would be a very different compile target than JS, and it seems weird to make such a huge change without very good reason.

Re:Faithful Elm and the Amazing Router by pmarreck on Thursday June 16, 2016 @11:18AM (#11916704)
I think "massive concurrency" and "bulletproof uptimes" are pretty good reasons. Plus that would then allow Elm on both client and server.

The Elm folks have been fairly buddy-buddy with the Elixir/Phoenix folks, so this doesn't surprise me

Re:Faithful Elm and the Amazing Router by twoquestions on Thursday June 16, 2016 @12:49PM (#11917294)
That sounds amazing.

It makes my heart sing that a different VM than JVM or .Net is gaining more traction, and as a static types fan it makes me happy that a statically typed language may be getting on Beam.

Re:Faithful Elm and the Amazing Router by adam_albrecht on Thursday June 16, 2016 @03:36PM (#11918329)
Richard Feldman (who works with Evan Czaplicki at NoRedInk) mentioned it in the Elm slack channel.

http://i.imgur.com/pqk9oMl.png

It will definitely be a very different compile target. But Elm really doesn't take any inspiration from Javascript, so I don't think it will change much about the fundamentals of the language. Of course they'll need to add capabilities for concurrency, OTP, etc.

Re:Faithful Elm and the Amazing Router by knewter on Thursday June 16, 2016 @11:29AM (#11916770)
I think the compile target is basically not a big problem, and there's been explicit work to make the Browser just one Platform. Also, see the `Process` module in the core docs for a hint of the future, regardless of where it lands (this would also work well for WebWorkers etc, and is handled right now by a naive scheduler). Concern over the compile target should be super low - if you've built a language of sorts, you should have a feel for how it's not that big of a deal to tweak the target.