News for hackers. Stuff that matters.
Re:Advanced Programming Languages (2009) by krebs_liebhaber on Tuesday May 05, 2020 @09:57AM (#23080049)
Immutability and thread-safety - if you want to get a value from one concurrent process to another, you have to copy it and send it to the other process. You can circumvent this by using a smart-pointer / reference to mutable data, which is manipulated by native code. One example would be a ResourceArc[0] in Rustler.

[0] https://docs.rs/rustler/0.22.0-rc.0/rustler/resource/struct....

There are no comments on this comment yet.