4 ms·
Coincidentally I used PyJulia last week to call some numerical code I translated from Python/Numpy to Julia. The actual translation was straightforward and done
by majoe 4y ago
Coincidentally I used PyJulia last week to call some numerical code I translated from Python/Numpy to Julia.
The actual translation was straightforward and done in under one hour, but I needed an additional day for fine tuning and profiling to actually make it fast.
Does anyone know, how JNumPy compares to PyJulia? Calling my Julia code via PyJulia seems to increase the startup time of Julia even more and it would be great, if JNumpy would do better here.
- sundarurfriend 4y agoAre you aware of the juliacall package? [1] The announcement post [2] says "Calling Julia from Python, juliacall seems to have smaller overhead (in time) than julia". The benchmarks below that show the overhead on calling `identity` with `juliacall` being less than half of what it is with PyJulia. [1] https://docs.juliahub.com/PythonCall/WdXsa/0.9.4/juliacall/ https://docs.juliahub.com/PythonCall/WdXsa/0.9.4/juliacall/ [2] https://discourse.julialang.org/t/ann-pythoncall-and-juliacall/76778 https://discourse.julialang.org/t/ann-pythoncall-and-juliaca...