align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditfacebookglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

'Integrating C++ with Python: How, Why, and When' with Austin Bingham

This meetup is listed here on Oslo Python and on Oslo C++ .  Please RSVP on only one of these to avoid double counting.

C++ is a great language for some tasks, but in many places it causes more problems than it solves. Python complements C++ well, and it's often an ideal language for writing those pieces of a system for which C++ is awkward. In this presentation I'll talk about how you can - and why you might want to - build C++ APIs on top of Python modules and use them directly from your C++ programs. This presentation is based in large part on actual experience with a large, complex, mission-critical C++ application, and I'll cover everything from technical challenges to political issues you might face.

The topics will include:

* Identifying where Python might be useful
* How to make the case for Python to your peers
* Technical aspects of interfacing the two languages
* Python runtime management: initialization, module loading, etc.
* Working with the “impedance mismatches” between the languages (e.g. duck-typing vs. static typing)

I will also discuss the reasons why C++ APIs on Python code represent a very useful and often powerful technique. The reasons range from simple pragmatism (you want to use an existing Python module in an existing C++ program) to productivity (writing Python code plus a C++ wrapper can be easier and faster than writing pure C++.)

Austin works professionally in Norway with both Python and C++ and is creator of and contributor to several Python open source projects.

Join or login to comment.

  • Austin B.

    Here's a link to the google drive presentation - - and (almost) the same thing on speakerdeck - And if anyone has any questions on what I talked about, feel free to contact me. Thanks again.

    February 16, 2013

  • Jon N.

    Solid presentation, friendly people. Got confidence now that boost::python is a viable technology for a planned C++/Python integration project.

    February 14, 2013

  • Åsmund Ø.

    Very good content, excellent delivery.

    February 14, 2013

  • Austin B.

    Thanks for inviting me out! I had a great time, and it was wonderful to see so much interest in the audience.

    February 14, 2013

  • Paul J.


    1 · February 13, 2013

  • Robert S.

    Happy to see that Austin's entertaining talk generated so many questions from the audience. Good interaction.

    February 13, 2013

  • Austin B.

    Will there be a computer that I can use, or should I bring my laptop? The presentation is on google drive, so if there's a computer that's already hooked up to the projector then that's probably the easiest thing to use.

    If I do need to use my laptop, is there a wireless network?

    February 11, 2013

    • Ola S.

      There's a mac in the meeting room that you can use. And we have quite a few computers laying around :)

      February 11, 2013

  • Ola S.

    Some additional info to find Simula:

    Use the main entrance to enter the IT Fornebu building. Its the "Kai Fjell" hall in the old airport terminal. To find the main entrance when arriving by bus, locate the orange signal house on stilts and walk down the staircase to the entrance. If arriving by car, and parking in the (pricy) garage, take the stairs up to the ground level and arrive very close to the main entrance. We'll have someone there letting you in.

    February 11, 2013

  • Austin B.

    I guess I should attend!

    February 3, 2013

  • Robert S.

    Directions to the venue: <>;

    January 15, 2013

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy