What can Elixir do?

What other things can you do with elixir besides websites or web services? Give examples.

Even if english is not your primary language, you could make use of some basic written politeness, as people tend to feel more inclined to give their contribution then.

Anyway… you could check out Nerves and Scenic for some non web Elixir.

10 Likes

Check out the use-cases tag and perhaps more specifically…

:023:

5 Likes

Every programming language can be used for a lot of work.

You should add some context to your question.

2 Likes

Any use case is welcome.

I’m not really sure if any of these are going to fall under “web services” but…

  • RabbitMQ is a message broker built in Erlang
  • Riak is a NoSQL database written in Erlang
  • Demon Ware is an online game services platform. I do not know about the full stack, but part of it is Erlang
  • MongooseIM is a messaging server written in Erlang
  • Wings 3D is a 3d modeling application built in Erlang

And there are more.

Admittedly, I am not aware of any big “actually built in Elixir” projects, but Erlang and Elixir are basically the same.

4 Likes

In that case, Erlang/Elixir are a solid match for anything except heavy computation. They can orchestrate other systems quite well. And the actor model lends itself to server applications (including web apps) so well that all other languages I’ve used in the past started to look bad.

Then again, this is the forum of the language. Some positive bias towards Elixir is a given.

3 Likes

Elixir is Turing complete, so it can do anything another programming language could.

5 Likes

please expand.

Please read the link I provided and you will understand.

1 Like

Link did not say Phoenix is Turing Complete.

Who said anything about Phoenix? This thread is about Elixir. Besides, Phoenix is a framework, not a language, so it doesn’t even make sense to think of it as Turing complete or not.

8 Likes

I meant Elixir is not Turing complete.

I have not proved it myself but I’m pretty sure it is. The list in Wikipedia is just examples, it’s not exhaustive.

Erlang is being seriously used in:

  • the banking world, for example Klarna and OTP bank
  • on the on-line betting world, bet365
  • the WhatsApp servers are written in Erlang
  • ad services
  • Cisco use it in the routers
  • Aeternity blockchain system
  • …

These are written in Erlang but Elixir would have suited them as well as they are basically the same language with the same system building properties.

You are most certainly using systems written in Erlang every day but you don’t see it, it just works.

15 Likes

Here you have a BEAM (Erlang) implementation of a universal Turing Machine simulator: https://rosettacode.org/wiki/Universal_Turing_machine#Erlang

5 Likes

noted, thanks for your input.

We built a birdhouse where Elixir was embedded on a Raspberry Pi. The app pulled in a list of tweets based on a hashtag. Then for each tweet, the body copy was sent to AWS Polly. The result mp3 was played though a loud-speaker and a servo-motor moved the bird in and out of the birdhouse.

13 Likes

https://prograils.com/posts/top-websites-built-with-elixir-phoenix I think you will find a very impressive set of applications built with Elixir here.

2 Likes