I've started reading about the Elixir programming language.
I understand that:
- It is Functional
- It is dynamic but support @spec
- It is based on Erlang VM
My question is: Does it have a sort of GC?
I've started reading about the Elixir programming language.
I understand that:
My question is: Does it have a sort of GC?
Yes, Erlang has GC, and since Elixir is built on Erlang it too has GC. See this old SO answer about Erlang GC and this one. The Elixir site refers to GC as follows:
Due to their lightweight nature, it is not uncommon to have hundreds of thousands of processes running concurrently in the same machine. Isolation allows processes to be garbage collected independently, reducing system-wide pauses, and using all machine resources as efficiently as possible (vertical scaling).