[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Share proto object among multiple lua vm
- From: Robert Virding <rvirding@...>
- Date: Mon, 24 Mar 2014 01:27:26 +0100
Erlang does not share state between processes, at least only in a very limited way. So while sending the data is cheap you still have separate copies of data. You could keep the shared state in an ETS table but the would entail a lot of copying when you access it. I have exactly this problem in Luerl, it is very easy to run very many instances but they are not sharing state.