JuliaPy / JuliaPy/PyCall.jl

Access C++ objects wrapped by SWIG in Python

Offen
#703 0 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
1.5k
Forks
186
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I'm working with a package that consists of C++ wrapped in Python using SWIG, along with other pure Python functionality. I'd like to call this from Julia. However, frequently passing data round-trip from Julia to Python to C++ and back to Julia is expensive due to type inference. Given a Python object created in Python that wraps a C++ object, I wonder if it's possible to "unwrap" it to interact with the C++ object directly in Julia in a Cxx-like fashion.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.