[erlang-questions] a question about NIFs

Ilya Shcherbak tthread@REDACTED
Mon Nov 18 07:30:11 CET 2013

Hello akonsu,

actually it will be work ok.

2013/11/18 akonsu <akonsu@REDACTED>

> hello,
> I am looking at different erlang parsers for JSON, and many resources that
> I found on the web reference jiffy (https://github.com/davisp/jiffy) as
> one among the "fastest" parsers. I am skeptical about this, having read
> articles about NIFs such as these linked from
> http://stackoverflow.com/questions/18178542/why-does-the-nif-function-block-the-erlang-vm-from-scheduling-other-processes.
> I am planning to run the parser in multiple worker processes, and it is
> essential that the parser cooperates with the VM scheduler. Since I am new
> to Erlang, I have no idea how to check this, so my question, I think, is
> whether NIFs by definition are agnostic of the scheduler, thus interfering
> with the normal VM activity.
> thanks in advance
> konstantin
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131118/909d7075/attachment.htm>

More information about the erlang-questions mailing list