# Cxx/CxxWrap best practices examples

**URL:** <https://discourse.julialang.org/t/cxx-cxxwrap-best-practices-examples/48313>\
**Category:** New to Julia\
**Tags:** cxx\
**Created:** [October 13, 2020, 7:13pm UTC](https://discourse.julialang.org/t/cxx-cxxwrap-best-practices-examples/48313 "2020-10-13T19:13:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcognetta](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mcognetta/32/3826_2.png) [@mcognetta](https://discourse.julialang.org/u/mcognetta)\
**Post date:** [October 13, 2020, 7:13pm UTC](https://discourse.julialang.org/t/cxx-cxxwrap-best-practices-examples/48313/1 "2020-10-13T19:13:49Z")

</div>

I am in the very early stages of porting a few libraries (all C++) to Julia. I’d like to have Julia wrappers of them first, but I have little experience in this area. Other than the examples in the docs for Cxx.jl and CxxWrap.jl, what are some examples of high quality wrapped Julia libraries using Cxx or CxxWrap that one should look at for best practices?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [October 13, 2020, 7:41pm UTC](https://discourse.julialang.org/t/cxx-cxxwrap-best-practices-examples/48313/2 "2020-10-13T19:41:42Z")

</div>

Cxx is a bit of a stalled progress, atm it supports up to 1.3. While they are not abandoned, it looks like it’s significantly more difficult to use C++ lib than C.

---

<div class="post-metadata">

**Author:** ![Gnimuc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gnimuc/32/2194_2.png) [@Gnimuc](https://discourse.julialang.org/u/Gnimuc)\
**Post date:** [October 14, 2020, 2:25am UTC](https://discourse.julialang.org/t/cxx-cxxwrap-best-practices-examples/48313/3 "2020-10-14T02:25:40Z")

</div>

[![](https://global.discourse-cdn.com/julialang/original/3X/4/0/402ac18399eec4468b1d3f287daf1630ddcce2f6.jpeg "JuliaCon 2020 | Wrapping a C++ Library with CxxWrap.jl") ](https://www.youtube.com/watch?v=VoXmXtqLhdo&t=10764s)
