4 ms·
I am new to Erlang. I assume that you mean writing a linked-in driver or NIFs. Unless you need very low and precisely controlled latency for your computation-he
by networked 10y ago
I am new to Erlang. I assume that you mean writing a linked-in driver or NIFs. Unless you need very low and precisely controlled latency for your computation-heavy code, too, why not write it, e.g., in Python with NumPy and talk to the Python process over a port?
- pron 10y agoYou could. Or you could just run on the JVM. Either way, there are some tradeoffs to make.
- elcritch 10y agoThere's a port of Erlang that runs on the JVM [1]. If you've got a lot of code in Erlang it could be beneficial. The language would the same, and you can choose VMs suited for a specific tasks. Or I'd like trying to use Elixir and Julia, probably over 0MQ or similar. 1: https://github.com/trifork/erjang https://github.com/trifork/erjang