Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6109987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:27:56+00:00 2026-05-23T14:27:56+00:00

Possible Duplicate: Integrate Python And C++ I am the python GUY and do web

  • 0

Possible Duplicate:
Integrate Python And C++

I am the python GUY and do web stuff in django. I want to know that how easy or hard it is to integrate python and C++ using SWIG.

Is it efficient/easy to do or should leave C++ and code the things in python.

There are some things C++ files which have been coded already by the past programmers. I know that SWIG is used to integrate languages but i don’t know what practical implications or problems are there for using it.

or There is no use of it and re-writing code in Python is the better choice.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:27:57+00:00Added an answer on May 23, 2026 at 2:27 pm

    I often use swig for work in order to translate code to multiple languages and it is a really useful tool.

    In order to understand what is the best way for you, you should observe your software interfaces. If you c++ classes have methods that only receive and returns simple types like strings or stl structures, you can be confident that your code doesn’t have problems being “swigged”. The problems come to you when you have complex interfaces.

    An another issue with python is the presence of GIL that in multithreaded environments (with blocking calls in c++ side) can cause a lot of problems and involves in a complex management (using python-dev library in your c++ code).

    A suggestion if your destination code is written only in python is to take a look of boost-python libraries that, being more specialized, are often more simple to use with python. The problems with multithreaded environments, however, remain.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: C#: How to enumerate an enum? Hi all I want to know
Possible Duplicate: Asp.net how to correct the error I'm designing my web page using
Possible Duplicate: Biggest advantage to using ASP.Net MVC vs web forms I was reading
Possible Duplicate: Graph visualization code in javascript? I have to integrate a graph with
Possible Duplicate: What Ruby IDE do you prefer? I've generally been doing stuff on
Possible Duplicate: How do you send email from a Java app using Gmail? How
Possible Duplicate: HTML Compress File Upload? I have complains from client that my website
Possible Duplicate: C# - google translate I am looking for a web service or
Possible Duplicate: How do I enumerate an enum? I am using the Microsoft Chart
Possible Duplicate: twitter integration on android app How can I integrate Twitter with my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.