[erlang-questions] Preloaded modules "lists" dependency
Lukas Larsson
lukas@REDACTED
Mon Feb 17 12:07:18 CET 2014
On Fri, Feb 14, 2014 at 1:46 PM, Max Lapshin <max.lapshin@REDACTED> wrote:
> btw, why lists bifs are not nifs? They all can be implemented in classic
> nif way: erlang implementation hidden by fast C nif.
>
> Because:
1. Nifs did not exist when most (maybe all) of them where written.
2. Nobody has felt that it is important to make a clean separation of
stdlib and the VM.
3. BIFs can cheat :) maybe this is the most important reason. There are
shortcuts that BIFS take that a NIF cannot.
Lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140217/ec41a80d/attachment.htm>
More information about the erlang-questions
mailing list