2 ms·
Good c interoperability is a benefit that Julia and Python share, and exploit for performance gains. They're on even footing here. Rust does it too, calling e
by klyrs 6y ago
Good c interoperability is a benefit that Julia and Python share, and exploit for performance gains. They're on even footing here.
Rust does it too, calling external unsafe code so they don't need to rewrite the world all in one go. I'd say that the extendability of a language isn't just fair, but a crucial aspect in comparing languages because that's what people do in the real world.
- adamnemecek 6y agoNo, interop is so much simpler in julia. Not to mention cpp interop.
- klyrs 6y agoYeah, won't argue there; I was responding to the notion that python is somehow cheating by using numpy. Python has at least 3 paths to cpp interoperability now, but they've all got their warts.
- adamnemecek 6y agoAnd they are require you to write wrappers. Peep the julia interop https://github.com/JuliaInterop/Cxx.jl https://github.com/JuliaInterop/Cxx.jl you just import your cpp code and it works.
- newswasboring 6y agoThis has been broken since v1.4 at least. You might want to peep CxxWrap