[erlang-questions] a question about NIFs
Mon Nov 18 10:08:41 CET 2013
On 11/18/2013 04:51 AM, akonsu wrote:
> 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
> 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.
This is why many people choose https://github.com/talentdeficit/jsx instead.
More information about the erlang-questions