Y
Hacker News
new
|
ask
|
show
|
jobs
by
ams6110
3127 days ago
It actually makes reasoning easy. What gets copied: everything. What gets shared: nothing.
2 comments
im_down_w_otp
3127 days ago
Except that isn't true in Erlang (or other BEAM languages). Binaries larger than some threshold are managed on a shared-heap. I think a couple other things have been promoted to being managed that way too fairly recently.
link
ramchip
3127 days ago
You might be thinking of the optimization for constant pool references:
https://medium.com/@jlouis666/an-erlang-otp-20-0-optimizatio...
link
im_down_w_otp
3126 days ago
Yes, that. Thank you.
link
banachtarski
3127 days ago
That's not true in a number of cases, and thankfully what you said isn't right or the BEAM would truly be a disaster.
link