[erlang-questions] Strange behaviour of atoms in NIF

Dmitry Groshev lambdadmitry@REDACTED
Wed Sep 14 20:17:12 CEST 2011

I'm writing a NIF-based circular array library and experiencing a strange 
behaviour of atoms in there. I have a NIF that should return an atom. It's 
fairly simple, but I get different atoms when calling this NIF from 
different places. Here is an issue with quite comprehensive explanation, 
please take a look at it at github: 
https://github.com/band115/ecirca/issues/31 I've tried to compare atoms that 
are returned by printf'ing them, but they seems identical in despite of 
obvious difference in shell.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110914/0c1ebddc/attachment.htm>

More information about the erlang-questions mailing list