rtfeldman/seamless-immutable

Confirmation of memory sharing

suni-masuno opened this issue · 3 comments

I've been trying to understand how seamless immutable interacts with my system memory. I've summed up my understanding of it in this presentation. I just want to know if I've misstated how seamless immutable shares memory.

AKA

Am I right about the core ideas in that link? Does seamless-immutable save a bunch of memory due to memory sharing?

I too would like confirmation of this.

I was looking into this, and I get the impression that Seamless is not a persistent data structure and does not use structural sharing (and also would not be good for functional programming for those reasons). Here is another commenter about more details:

https://www.reddit.com/r/javascript/comments/3r5ppg/why_use_immutablejs_over_mori/cwlh6u8/

If you are looking for a more traditional immutable data structure, mori might make more sense.

crudh commented

@stoeckley correct. I'm closing this.