Ruby and Elixir: Polyglottin' FTW
1–10 of 24 posts
Re: Ruby and Elixir: Polyglottin' FTW
#2Re: Ruby and Elixir: Polyglottin' FTW
#3Yeah, be polyglot by speaking American English and British English! I mean, Ruby and Elixir! http://satwcomic.com/multi-language/moby-is-a-dick
Re: Ruby and Elixir: Polyglottin' FTW
#4We're a mobile game company, and we use C, C#, Objective C, Java, Python, Go, Erlang, JavaScript, Lua, and more where they make sense.
I love language talk and debates (and hate the language hate) here on HN. But if you're only using a single language in production, you're likely not that big, or more likely have a lot to gain by reworking certain bits with other technologies where they make sense.
Re: Ruby and Elixir: Polyglottin' FTW
#5Yeah, be polyglot by speaking American English and British English! I mean, Ruby and Elixir! http://satwcomic.com/multi-language/moby-is-a-dick
Re: Ruby and Elixir: Polyglottin' FTW
#6I totally agree that each language has its strength and each facet of your problem may best be solved in a different language.
Re: Ruby and Elixir: Polyglottin' FTW
#7EDIT: Also your example of polling on Redis queue using elixir is very inefficient and makes your article not so credible in my eyes or eyes of other good software architects. Redis is meant for pub sub and not polling.
Re: Ruby and Elixir: Polyglottin' FTW
#8Yeah, be polyglot by speaking American English and British English! I mean, Ruby and Elixir! http://satwcomic.com/multi-language/moby-is-a-dick
While Ruby and Elixir have quite similar syntax, their underlying run time models are fundamentally very different.
Similarities don't go much further than def do end (but there are too many do and too many different def in Elixir) and the sensible naming of some Library.functions() to match classes and methods in Ruby's standard library. But hey, making a good first impression is extremely important and Elixir has been engineered well in that regard. It's not one of those I'll-never-ever-be-able-to-read-it languages.
Re: Ruby and Elixir: Polyglottin' FTW
#9Why are you adding an extra level of abstraction in between Rails and Sidekiq? Why not just have Rails push to redis queue and elixir process finishes the job of sending email or doing what it has to do. Why have Sidekiq run at all? It seems adding multiple layers as such will make it harder to understand, debug and maintain in future. EDIT: Also your example of polling on Redis queue using elixir is very inefficient…
Re: Ruby and Elixir: Polyglottin' FTW
#10Best thing I ever learned - probably 15 years ago at this point - is just use the right tool for the job. We're a mobile game company, and we use C, C#, Objective C, Java, Python, Go, Erlang, JavaScript, Lua, and more where they make sense. I love language talk and debates (and hate the language hate) here on HN. But if you're only using a single language in production, you're likely not that big, or more likely have…
It is like "I only do hammers and nails. For drilling ask the guy over there."