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

marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
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
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
vac
Hi, I’m quite new in Elixir and I’m trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and I...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New

Other popular topics Top

AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
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
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement