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

  • SEARCH
  • Home
  • 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 6681873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:38:22+00:00 2026-05-26T04:38:22+00:00

why it is much more difficult to provide wrappers in other languages to C++

  • 0

why it is much more difficult to provide wrappers in other languages to C++ code as opposed to C code ?

  • 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-26T04:38:23+00:00Added an answer on May 26, 2026 at 4:38 am

    This varies significantly by the library itself and how its designed.

    Speaking very generally, C++ is more complex in that it has objects, classes and interfaces, where C is primarily functions. Member functions of a class are named and called differently, so wrapping them takes a bit more work to provide equivalent names.

    Once the library is wrapped to provide an equivalent interface and calling conventions are handled, the next difference is C++ allowing objects to be passed as function parameters, which may necessitate deep copies and similar. In a library taking purely pointers, for example COM, this isn’t a problem (which is part of why COM is interoperable with so many languages and other systems), but handling the necessary copy code is very compiler-dependent even within C++.

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

Sidebar

Related Questions

Code is much more precise than English; Here's what I'd like to do: import
Finding the answer to this is turning out to be much more difficult than
When converting PSD's into HTML or even HTML5 and CSS, how much more difficult
I find it much more difficult to manage your session in a desktop application,
I am working a much more complex version of this (with vehicle moving in
We have two different (maybe much more) ways to get an access to x
I'm looking for a much more idiomatic way to do the following little ruby
I have an issue with my program using much more memory than I think
Background: I am designing a software application that reads millions or much more files
OK for the record, I'm MUCH more familiar with Java and RnR than any

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.