[erlang-questions] Luerl and dynamically created lists

Martin Hedberg skribent_har@REDACTED
Tue May 21 04:35:17 CEST 2013



Hi again 

I know that it is a big "no no" to create variables dynamically in Erlang. However I am planning to use Mr Virdings "Luerl" 
modules so Lua-engienes (on top of Erlang processes) can handle some of the more simple programming tasks. While the 
Erlang processes handle the communication between them. 

When the Lua-processes produce variables dynamically I thought it could just pass it via the Erlang layer . However as I have 
understood it Erlang is just sending copies. Which makes me a bit worried about the memory. 

Is there some way to erase The Lua-content from an Erlang process after it have been sent? 

Best regards 

Martin

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130521/7760c301/attachment.htm>


More information about the erlang-questions mailing list