I have some algorithms developed in Python. The algorithms monitoring the movement of about 1000 ships in the port and calculate the risk, which will be used for industrial purpose.
I am planning to rewrite the algorithm in Julia. My colleagues are developing the GUI using Node.js. I need to let the Node.js code call my algorithm in Julia.
Call frequency: 1 time / second
Data exchange: Julia code will return some matrixes, and the size is not very large.
Some potential solutions:
(1) Web API
which Julia package is ready to use? is HTTP.jl proper ?
(2) Is it easy to compile Julia code to DLL and let Node.jl call as using the DLLs created from c/c++ code?
I will write the code in the style as static programming language. Theoretically, it is possible to compile to DLL.
I am familiar with C++. I want to try new technology and possibly save some time Parallel computing of Julia would also be useful for this case.
What is the best way to do this work ? Thanks!