SudarsanD

SudarsanD

Garbage collection in Elixir

Hi,
I am trying to see if there is any material which discusses how Elixir does GC. I understand that the data-structures are immutable and that copies(when needed) and PDT (Persistent Data structures are used). But that’s the level i know about it.

I see that for other GC’ed langauges like Python and even Golang there are multiple articles which explains how GC happens.

Can you guys point me to articles/books which explain how this happens and/or point me to the elixir source code where GC takes place.

Sincerely,
Sudarsan.D

Most Liked

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

The path to the right answer is found by asking about how Erlang and the BEAM do garbage collection, since the BEAM is the actual VM that executes your Elixir code. Erlang Garbage Collector — OTP 29.0.2 (erts 17.0.2) is a great summary to start.

SudarsanD

SudarsanD

Thanks a lot. I just started writing some code in Elixir and kind of love the syntax (inviting) and the great support i receive online. I now realize that need to do some studying.

Many a thanks
Sincerely,
Sudarsan.D

Last Post!

SudarsanD

SudarsanD

Thanks a lot

Where Next?

Popular in Questions Top

lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
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
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
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

Other popular topics Top

joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
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