kornel_gora

kornel_gora

What kind of apps can I make with Elixir?

Hi, what type of apps I can make with elixir? Can I make ai, cloud computing solution with elixir?? I want start = learning this language but I need know what can I make with it.

Most Liked

dimitarvp

dimitarvp

Elixir is not suited for heavy lifting. If you want to do a ton of calculations – like in Deep Learning – you are better off using the more native solutions in C++, Go, Rust, Java even.

However, Elixir is practically extremely well-suited for everything else. It excels in utilizing all CPU cores and distributing work transparently on a single node. It does require a bit more effort to go multi-computer but it’s IMO still much quicker than many other languages.

(EDIT: To clarify on raw performance, you should still keep in mind that Elixir is much faster than languages like PHP, Python or Ruby; goes anywhere from 10x to 500x depending on frameworks and techniques used. So don’t count out Elixir out for any processing; but if you really need the last cent of value out of a rented resource for heavy-duty number crunching, definitely go for Go, Rust, OCaml or, if your life is not dear to you, C++)

Elixir has a very terse syntax and has building blocks of very high quality (like Task.async_stream or Enum.map_reduce). Tasks that took me 100 lines of code in Java and 40-50 in Ruby, routinely take only 5-10 lines of code in Elixir. This helps people to quickly parse each other’s code and thus helps with maintenance and teamwork a lot. It also helps the programmers to not forget what were they doing at earlier phases of the project.

Elixir is dynamically typed but with typespecs (think of them as opt-in typing contracts) and pattern-matching you can make it much stricter than Go or Java whose “strict” typing is technically optional and people end up making a lot of code that only knows what it works with at runtime, and thus their speed advantage vanishes and they end up being as slow as PHP or even Ruby.

It’s hard to convey the exact positives until you truly start learning it.

But I think it’s gonna be the best if you give several examples of projects you would like to do with Elixir and we can tell you honestly if the language is a good choice for them.

ConnorRigby

ConnorRigby

Nerves Core Team

:rofl::joy::rofl::joy:

AstonJ

AstonJ

You might find this thread interesting:

:003:

From the same thread:

:003:

Seriously though, Elixir is a pretty versatile language and is especially suited things where you need to do lots and lots of things concurrently. What I’ve said about Elixir previously…

Where Next?

Popular in Questions Top

pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
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
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
tduccuong
Hi, is there any work on GUI with Elixir, that is similar to Electron/Javascript? My idea is to bundle Phoenix and BEAM into a single se...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
chewm
Hi guys, nice to meet you to the whole forum, I’m new here, I’m trying to configure visual studio code for elixir, right now the intellis...
New
chrisalley
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New

Other popular topics Top

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
New
AstonJ
You’re a programmer, so you don’t need spoon feeding with the conventional drivel about “this is an integer.” No. You need to know what’s...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
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 42633 214
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New

We're in Beta

About us Mission Statement