<br><br><div class="gmail_quote">2013/2/14 Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 02/14/2013 11:42 PM, Björn-Egil Dahlberg wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
2013/2/14 Loïc Hoguin <<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a> <mailto:<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>>><div class="im"><br>
<br>
    On 02/14/2013 11:18 PM, Björn-Egil Dahlberg wrote:<br>
<br>
        * Creating atoms in runtime. It should only have been allowed in<br>
        code<br>
        and never by list_to_atom/1 or binary_to_atom/1,2<br>
        (binary_to_term would<br>
        still be a thing though)<br>
<br>
<br>
    Anthony Ramine has a "split the atoms" implementation of ROK's EEP<br>
    in progress which allows to dynamically create garbage-collected<br>
    atoms, fixing all issues related to creating them at runtime. You<br>
    might want to take a look or help getting this in quicker:<br>
<br>
<br>
My point was actually not to have atoms as strings (and prolog filenames).<br>
<br>
If I'm reading the EEP correctly: a local atom would actually require a<br>
larger heap space than an equivalent heap binary .. which is a feat all<br>
by itself.<br>
<br>
I gather that could be remedied though. Haven't looked at the code.<br>
<br>
I agree that atom gc is needed but it shouldn't be an excuse for using<br>
dynamic atoms instead of binaries. Besides, if locals atoms are larger<br>
than binaries why would you use atoms. (I might be wrong about the size<br>
though .. didn't look that hard).<br>
</div></blockquote>
<br>
Some things still only take atoms, like register/2. That's just one example out of many. :)</blockquote><div><br></div><div>Yeah .. kinda stuck with dynamically created atoms now. But using atoms as strings .. thats just a poor life choice.</div>
<div><br></div><div>// Björn-Egil .. needs .. sleep .. now</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>

<br>
-- <br>
Loïc Hoguin</font></span><div class="HOEnZb"><div class="h5"><br>
Erlang Cowboy<br>
Nine Nines<br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br>
</div></div></blockquote></div><br>