News for hackers. Stuff that matters.
Re:JNumPy: Writing high-performance C extensions for Python ... by majoe on Wednesday August 10, 2022 @03:27AM (#32408769)
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.

Re:JNumPy: Writing high-performance C extensions for Python ... by sundarurfriend on Wednesday August 10, 2022 @11:29AM (#32413612)
Are 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/ [2] https://discourse.julialang.org/t/ann-pythoncall-and-juliaca...