AstonJ

AstonJ

Mind blowing Elixir

How has Elixir blown (or expanded!) your mind? Please tell us here!

Can be something that’s unique to Elixir, or just something that it introduced to you. Can be something you discovered a while ago.. or something you just come across - whatever it is, please share :023:

Most Liked

brightball

brightball

Completely changed the way I think about code…which is kind of a pain when I have to use other languages…

19
Post #4
kylethebaker

kylethebaker

This talk by Saša Juric is one of my go-to’s when trying to get people interested in Elixir. Being able to attach a REPL to a running production system and having all of these introspection capabilities at your disposal is something I don’t think any other runtime offers (or if they do it likely isn’t as deeply integrated with the runtime as you get with elixir/erlang).

15
Post #6
andre1sk

andre1sk

Not specifically Elixir but BEAM’s preemptive scheduler especially after working a lot with Node is truly mind blowing.

Last Post!

namelos

namelos

Erlang/OTP is mind-blowing to me. However, if there’s no Elixir, I probably never actually take a serious look at them (although it was always on the todo list). I can raise some examples:

  1. I realized the scheduling efficiency is much more important than execution speed:
    Given Java is much faster than Erlang – Erlang is much faster than Java is most of the Web and other scenarios. The nature of most user-oriented scenarios is about unordered events and operations.
    Erlang vs Java is more like agile vs waterfall. If the requirement never changes probably waterfall is better, just like scientific calculation or batch operations. But more scenarios are dynamic, react to change is far more important than personal efficiency.

  2. I realized programming language is probably is not enough. We need operating systems. Processes. Applications. Isolation.
    Typically most of the libraries run on your threads, in typical programming languages. If one of them crashes, everything crashes unless you handle them.
    In typical language: two objects, one is saying ‘hi’ to another, and another responds with something the former does not understand. The whole world explodes. That’s crazy! And yet we’re so used to them.
    In typical operating system, if there are some application crashes, people is not expecting the whole operating system crashes. They’ll be really pissed if it does.

  3. Your database and your application could be the same thing.
    Actor is similar to this philosophy, and riak_core / lasp / o(e)rleans are stepping toward this direction. It’s not popular or easy to handle right now, but we will eventually be there. The database is always ‘the’ problem that makes me really think ‘there should be a much better’ way. After I read these solutions, I believe there’s a bright future for this philosophy.

They are really mind-blowing.
SICP and Lisp blew my mind on how to write software.
Erlang/OTP blew my mind on how to run software. And running software properly is so important nowadays.

Where Next?

Popular in Discussions Top

AlexMcConnell
The reason that Rails is as popular as it is is because it’s very easy for relatively inexperienced developers to get a lot of work done....
588 20070 166
New
sergio
There’s a new TIOBE index report that came out that shows Elixir is still not in the top 50 used languages. It also goes on to call Elix...
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
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
opsb
We’re considering our architecture from a viewpoint of scaling our traffic heavily over the next 6 months. Our current deployment is runn...
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
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

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
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
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
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40082 209
New

We're in Beta

About us Mission Statement