<div dir="ltr">On Fri, Feb 14, 2014 at 1:46 PM, Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">btw, why lists bifs are not nifs? They all can be implemented in classic nif way:  erlang implementation hidden by fast C nif.</div>
<div class="gmail_extra"><br></div></div></blockquote><div>Because:</div><div>1. Nifs did not exist when most (maybe all) of them where written.</div><div>2. Nobody has felt that it is important to make a clean separation of stdlib and the VM. </div>
<div>3. BIFs can cheat :) maybe this is the most important reason. There are shortcuts that BIFS take that a NIF cannot. </div><div><br></div><div>Lukas </div></div></div></div>