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

Last Post!

danyalmh

danyalmh

I research about it.

All processing done with SDL GPU.

And Interface and command and some function written in erlang

At All ,

speed is not power of erlang
Is power of C++ SDL

Where Next?

Popular in Discussions Top

AstonJ
Are there any Elixir or Erlang libraries that help with this? I’ve been thinking how streaming services like twitch have exploded recentl...
New
AstonJ
If a newbie asked you about Phoenix Contexts, how would you explain the basics to them? Feel free to be as concise or in-depth as you li...
New
acrolink
How does the two languages compare when it comes to server side application development? Any experiences or ideas? Thank you.
New
jer
I’ve been using umbrellas for a while, and generally started off (on greenfield projects at least) by isolating subapps based on clearly ...
New
tmbb
This is a post to discuss the new Phoenix LiveView functionality. From Chris’s talk, it appears that they generate all HTML on the serve...
342 18584 126
New
cvkmohan
The upcoming Phoenix 1.6 release looks very interesting. Became a habit to watch the commits - and - what they are bringing in. phx.gen...
New
arcanemachine
https://nitter.net/josevalim/status/1744395345872683471 https://twitter.com/josevalim/status/1744395345872683471
New

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
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
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

We're in Beta

About us Mission Statement