Erlang/Elixir have ETS and Mnesia. You can read about it in "Learn You Some Erlang" (I am sensing some irony here) or the blog post "Erlang does have shared memory". On the other hand, what about just using Redis that is "language independent"? I might add that NodeJS isn't popular because it doesn't have shared memory, its popular because it scales much better than traditional frameworks (e.g. Rails, Django, Spring). Links - learnyousomeerlang.com/ets - learnyousomeerlang.com/mnesia - erlang.org/doc/efficiency_guide/tablesDatabases.html - yarivsblog.blogspot.com.co/2008/05/erlang-does-have-shared-memory.html
Erlang/Elixir have ETS and Mnesia. You can read about it in "Learn You Some Erlang" (I am sensing some irony here) or the blog post "Erlang does have shared memory". On the other hand, what about just using Redis that is "language independent"?
I might add that NodeJS isn't popular because it doesn't have shared memory, its popular because it scales much better than traditional frameworks (e.g. Rails, Django, Spring).
Links
- learnyousomeerlang.com/ets
- learnyousomeerlang.com/mnesia
- erlang.org/doc/efficiency_guide/tablesDatabases.html
- yarivsblog.blogspot.com.co/2008/05/erlang-does-have-shared-memory.html
it's fair to be said, that STMs are especially good in cases where reads are prevalent and writes rather rare.
Can anyone compare STM with ownership in Rust? Is it fair to say that ownership is just another lock/semaphore method of dealing with shared memory?
"Wirte."
Distracting.