News for hackers. Stuff that matters.
Re:Learn Elixir with a Rubyist (IV) – Types, Data Structures... by alberth on Thursday January 19, 2017 @01:40PM (#13438269)
More fair comparison would be Phoenix [1] to node.js

Elixir is a programming language whereas node is a framework.

[1] http://www.phoenixframework.org/

Re:Learn Elixir with a Rubyist (IV) – Types, Data Structures... by jnbiche on Thursday January 19, 2017 @02:50PM (#13438903)
Node.js isn't a framework. It's a JS runtime, and for most purposes can be considered a variation of JavaScript. However, like Go, Node.js has such a rich networking support in its standard library, that some people go "frameworkless" when developing web apps in Node. But not as many as in Go, probably.

Something like Express would be more analogous to Phoenix in Elixir.

Re:Learn Elixir with a Rubyist (IV) – Types, Data Structures... by novembermike on Thursday January 19, 2017 @01:44PM (#13438313)
Node isn't really a framework, it's a runtime and is fairly close to a language. It's roughly analogous to Nashorn.
Re:Learn Elixir with a Rubyist (IV) – Types, Data Structures... by aecorredor on Thursday January 19, 2017 @01:44PM (#13438309)
True, then in that scenario we should talk about comparing phoenix and express right?

edit: meant to say phoenix, not elixir.

Re:Learn Elixir with a Rubyist (IV) – Types, Data Structures... by gregdeveloper on Thursday January 19, 2017 @01:46PM (#13438328)
Express and phoenix maybe. Elixir is not a framework. Node is to js perhaps as plug is to elixir. Even that kind of doesn't compare correctly though.
Re:Learn Elixir with a Rubyist (IV) – Types, Data Structures... by novembermike on Thursday January 19, 2017 @01:53PM (#13438410)
node is to js as beam is to elixir, roughly.
Re:Learn Elixir with a Rubyist (IV) – Types, Data Structures... by gregdeveloper on Thursday January 19, 2017 @01:45PM (#13438321)
Node is not a framework though