by metadat · 4y ago · 0 comments
..which could be a heckuva lot friendlier and often safer than C!
The requisite python boilerplate is pretty ugly, though:
init_jl()
include_src('example.jl', __file__)
exec_julia('example.init()')
I also don't understand how jl_mat_mul gets mapped to mat_mul. jl_mat_mul = Pyfunc(jl_mat_mul)
Huh?jl_mat_mul = Pyfunc(mat_mul)
which makes a lot more sense.
from example.jl import mat_mul
and have it just work. (With the right libraries and import functionality of course.)