[erlang-questions] Erlang and Akka

Xiao Jia <>
Thu Aug 28 09:05:19 CEST 2014


On Thu, Aug 28, 2014 at 1:58 PM, Richard A. O'Keefe <>
wrote:

>
> Memory management is the programmer's job in C++, which
> means that any realistic C++ program *has* to use mutable
> variables or run out of memory in seconds.
>
>
Sure, so can we maintain acyclic data structures (as in Erlang, as I
understand) with smart pointers in order to eliminate most *manual* memory
management and to write in such a style as coding in Erlang?

In general maybe using value types, i.e. stack-allocated wrappers for
heap-allocated memory (e.g. smart pointers), can help in such coding style?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140828/334a9a45/attachment.htm>


More information about the erlang-questions mailing list