rms.mrcs

rms.mrcs

When would you NOT use Elixir?

A couple of days ago I was discussing with a friend about different approaches to write microservices.

He said that if he was going to write a new microservice platform from scratch, he would probably use Go + Docker + Kubernetes + Rancher + Kafka/RabbitMQ.

I said that I would probably just stick with an Elixir’s umbrella using supervision tree and process discovery across nodes, using an external MQ or even Elixir Port to communicate with external actors when needed.

In the end we agreed that Go and Elixir proposes their own approach to the same problem, and that the context of the problem would tell which solution could be the best fit.

For me, this discussion raised a few questions that probably will be answered through experience and time.

Since a question like “why elixir is the best language in the world?” in the elixir forum would have very biased naswers, now I ask you: when would you not use Elixir?

Most Liked

rvirding

rvirding

Creator of Erlang

You might like to point out to him that RabbitMQ is implemented in Erlang so in effect he would be using almost Elixir, just with a bit of difference in the syntax. :grinning:

15
Post #8
rvirding

rvirding

Creator of Erlang

Wings3D was implemented by Björn Gustavsson of the Ericsson OTP team who has been working with the compiler and the BEAM for over 20 years. It is rumoured that he improved the efficiency of floating point calculations for this tool. :wink:

andre1sk

andre1sk

If I can’t afford the overhead? there is 0 chance I’d reach for Go though :slight_smile: I think Elixir + Rust is pretty much It for wast majority of use cases. And for use cases where Elixir would be too much overhead I’d reach for Rust. Both Rust and Elixir make writing concurrent code sane and safe in Go you can shoot yourself in the foot very easily and I’d rather “fight” compiler a bit than debug race conditions in prod. (not to mention how a lang. in 2018 can exist without sane package manager is a mystery).

10
Post #3

Where Next?

Popular in Discussions Top

matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New
Donovan
Hello everyone, I’m so glad to have discovered this awesome community. Thanks for creating it! This is my second post, and apologies for...
New
laiboonh
Hi all, I am trying to convince my team to use liveview over the current react. What are some of the points where one should consider us...
New
chuck
Let me start by stating an assumption: Phoenix is a great approach to building REST APIs. There are many reasons for this, but I will ass...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
CharlesO
Erlang :list.nth simple, but 1 - based nth(1, [H|_]) -> H; nth(N, [_|T]) when N > 1 -> nth(N - 1, T). Elixir Enum.at … coo...
New
PragTob
Hey everyone, this has been brewing in my head some time and it came up again while reading Adopting Elixir. GenServers, supervisors et...
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
AstonJ
If so I (and hopefully others!) might have some tips for you :slight_smile: But first, please say which area you’re finding most challen...
New
New

Other popular topics Top

sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 42842 311
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 43591 214
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35953 110
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31107 143
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement