News for hackers. Stuff that matters.
Re:Communicate Between Ruby and Elixir Using Erlang Ports an... by arcaster on Monday December 12, 2016 @01:36PM (#13160523)
I understand why the Ruby community has warmed up to Elixir and the Phoenix web-framework, however, I'm curious what the advantage or use-case of having Ruby talk to Elixir in an application is?
Re:Communicate Between Ruby and Elixir Using Erlang Ports an... by tkxxx7 on Monday December 12, 2016 @01:47PM (#13160627)
Probably allows updating/extending old Rails apps using Elixir, without having to rewrite the old app.
Re:Communicate Between Ruby and Elixir Using Erlang Ports an... by brightball on Monday December 12, 2016 @01:49PM (#13160647)
Terraform is a good option there as well.

https://github.com/poteto/terraform

Re:Communicate Between Ruby and Elixir Using Erlang Ports an... by brightball on Monday December 12, 2016 @01:49PM (#13160642)
The main use case would be if you had a very mature Ruby library without an Erlang/Elixir equivalent. I haven't run into much that I personally need that isn't already available, but there are definitely some gaps that this could help people jump in the short term.
Re:Communicate Between Ruby and Elixir Using Erlang Ports an... by mfb2 on Monday December 12, 2016 @03:46PM (#13161747)
Agreed. Currently working with a host of legacy ruby projects that we're slowly migrating to elixir. We've used hack-arounds to leverage the existing ruby projects up until now. If this library proves to be production-worthy, it'll be a great bridge for addressing some technical debt.
Re:Communicate Between Ruby and Elixir Using Erlang Ports an... by nullstyle on Monday December 12, 2016 @04:36PM (#13162149)
Erlectricity, from what I understand, was used extensively in at least one iteration of github's architecture. It has spent a lot of time in production deployments.
Re:Communicate Between Ruby and Elixir Using Erlang Ports an... by iagooar on Monday December 12, 2016 @04:13PM (#13161962)
I work at an ISP with some gems that you just cannot find anywhere, in any language. We cannot just replace or rewrite them, some have been around for almost 10 years.
Re:Communicate Between Ruby and Elixir Using Erlang Ports an... by felideon on Monday December 12, 2016 @05:04PM (#13162386)
> I understand why the Ruby community has warmed up to Elixir and the Phoenix web-framework?

Could you explain why, at least as it pertains to web development?

As a (former) Common Lisp developer I find Ruby on Rails suffices for the vast majority of needs, and believe its popularity and maturity pays off in productivity gains.

Re:Communicate Between Ruby and Elixir Using Erlang Ports an... by phamilton on Monday December 12, 2016 @06:02PM (#13162886)
The biggest gap in Rails is websockets. There's just nothing close to ease of use that Phoenix has in that regard. I have not, however, done much with action cable. I don't feel much desire to do so since Phoenix exists.