[erlang-questions] erl_driver vs NIF
Tue Dec 6 21:56:10 CET 2016
Analyzing the project fast_tls by processone (
it raised me a question:
>From what I know the NIF is the fastest way to call c/c++ code from erlang.
The disadvantage is that you need to return in under 1 ms in order to make
sure the schedulers are not affected.
using erl_driver and port_control is not the same ? because based on the
documentation this is a sync call that blocks scheduler until the native
I'm wrong or not ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions