<p>Hi Max,</p>
<p>depending on the communication patterns you have between your Erlang and C code, I wouldn't rule out the simple external port approach. It has the benefit of not polluting your Erlang VM with problems ;-) and is probably the easiest to implement.</p>

<p>Robby<br>
</p>
<div class="gmail_quote">On Jun 21, 2014 1:40 PM, "Max Lapshin" <<a href="mailto:max.lapshin@gmail.com">max.lapshin@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I'm doing very CPU bound task: video transcoding.<div><br></div><div><br></div><div>What is better to use: dirty NIF or driver async?</div><div><br></div><div>Is it correct to ask "what is better" in this case?</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>