<div dir="ltr"><div>Hello akonsu,<br><br></div>actually it will be work ok. <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/18 akonsu <span dir="ltr"><<a href="mailto:akonsu@gmail.com" target="_blank">akonsu@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hello,<div><br></div><div>I am looking at different erlang parsers for JSON, and many resources that I found on the web reference jiffy (<a href="https://github.com/davisp/jiffy" target="_blank">https://github.com/davisp/jiffy</a>) as one among the "fastest" parsers. I am skeptical about this, having read articles about NIFs such as these linked from <a href="http://stackoverflow.com/questions/18178542/why-does-the-nif-function-block-the-erlang-vm-from-scheduling-other-processes" target="_blank">http://stackoverflow.com/questions/18178542/why-does-the-nif-function-block-the-erlang-vm-from-scheduling-other-processes</a>. 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.</div>
<div><br></div><div>thanks in advance</div><div>konstantin</div><div><br></div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>