JuliaInterop / Cxx.jl

The Julia C++ Interface
Other
755 stars 107 forks source link

Compatibility with Julia 1.6 #487

Open PallHaraldsson opened 3 years ago

PallHaraldsson commented 3 years ago

@Gnimuc, "I would expect that we could get a stable icxx/cxx macro for Julia 1.6+ in the near future."

Since no currently supported (pre-Julia 1.6) version works, and with 1.6-rc1 out, it would be nice to know. Then we can change the disclaimer I put in.

Gnimuc commented 3 years ago

Not yet.

BTW, the comments in #486 are just my two cents about how to make the maintenance of Cxx.jl easier for future Julia releases. For the sake of convenience, experiments should be done in other repos until everything gets ready, then we can merge back to Cxx.jl.

MaximeBouton commented 3 years ago

@Gnimuc thank you for your effort in maintaining Cxx.jl. One of our package is currently affected by this as well and we have to limit the julia version to 1.3 sisl/Spot.jl#12.

Gnimuc commented 3 years ago

It looks like Spot.jl is not a huge library, I'd say doing a totally rewriting with CxxWrap.jl or exposing a C API of libspot and using ccall is a better solution. In this way, you don't need to bundle the huge Clang lib with Spot.jl. Anyway, sorry for the delay. I was mainly working on https://github.com/JuliaInterop/Clang.jl/pull/278 in the last two months. I'll back to this now.

sylvaticus commented 2 months ago

Just my 2 cents to throw that as non-specialized developer Cxx.jl is way simpler to use than CxxWrap.jl, for several reasons... you never have to leave your beloved Julia environment, writing interfaces julia-side is simpler than C++ side, you don't need to set installation-specific header paths in the C++ code.... a pity it is stock on Julia 1.3 :-/