[erlang-questions] erlang:fun_info behaving strangely
Mon Aug 31 17:50:43 CEST 2009
Dnia 2009-08-31, pon o godzinie 16:32 +0100, Daniel Kwiecinski pisze:
> Can somebody explain the difference in results of calling the same code
> directy from erlang console as opposite to calling it via defined module:
> Both functions are local but only the one defined directly in console had
> Many Thanks in advance for any help on this.,
code in shell is interpreted directly from abstract syntax tree
using erl_eval code written in erlang,
code in module is compiled to bytecode and then executed using fast
bytecode interpretation inside of Erlang VM which is is written in C.
This is the main difference.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: To jest cz??? wiadomo?ci podpisana cyfrowo
More information about the erlang-questions