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 9029941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:22:06+00:00 2026-06-16T07:22:06+00:00

Status Quo For a project of mine I need a client library that communicates

  • 0

Status Quo

For a project of mine I need a client library that communicates with my API for every major programming platform. Currently I implemented just one (Java) and was thinking ‘I don’t want to do this 8 times (or hope someone else will)’.

The client is relatively small, but not trivial; does mostly JSON reading/writing and sending TCP/UDP data over SSL. Every call to the client is fire-and-forget, so it works completely asynchronously in its own thread.

Problem

I was asking myself if it made sense to write a single C library and integrate it with the other platforms.

I did a bit of research and it seems every platform deals with this differently (obviously) with varying necessary efforts. I also realised that I never saw something like it – for example database drivers always seem to be written from scratch rather than using a C library at the core. Is the overhead too big?

I also read about Thrift, Protocol Buffers etc. – but this seems to be aimed at network interoperability?

Question

So the final question is:

Is it feasible to use a single C library at the core of each platform’s client? If yes: how should it be done?

  • 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-06-16T07:22:07+00:00Added an answer on June 16, 2026 at 7:22 am

    Using a C library makes sense if you want to consolidate all implementations of the same functionality into one piece of code – it is probably the only language that can be universally used by higher level languages.

    Your work would be significantly easier if you could automate the process to a degree. You might want to have a look at SWIG. It is a binding generator that allows C/C++ code to be used with a large number of other programming languages, including most, if not all, of the languages that you mentioned.

    For my rather superficial experience with it, SWIG does a rather decent job, although the generated code does occasionally need some tweaking…

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

Sidebar

Related Questions

Status Quo For our customer we are developing some libraries and applications that run
git status tells me that my branch and the one I started from on
My application provides a status depending on the date and time of day that
I am creating a status board module for my project team. The status board
I binded my column (Status) to value. But I need to show image for
Status updates with a link to a blog that I help support aren't including
git status shows that I have 2 commits # On branch production # Your
The status report currently shows the following: (source: gyazo.com ) However, when I do
I need to add status for an object, and need a hint about the
After using timeout: status = Timeout::timeout(5) { # Something that should be interrupted if

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.