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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:43:48+00:00 2026-05-21T15:43:48+00:00

(Sorry for my english) First: I have an application created using C++ (this is

  • 0

(Sorry for my english)

First: I have an application created using C++ (this is for performance needs), this application uses an image to make some processing and returns a simple answer (1 or 0 ).

Now I need to expose this application from a webservice.

I think to create a webservice using Rails, but I don’t know if it’s possible using rails to call the C++ process..

The idea is to use the webservice to get an image sent by a client, pass this image to the C++ application and return (using the webservice) a message to the client, based on the result of C++ application.

Is this possible?

Any example or guideline?

Thanks in advance

EDIT: Solved using Thrift thrift.apache.org


I read something about Thrift .. but i think maybe i can’t use to solve this problem (maybe) ..

The idea is use a mobile application (iOS and/or Android) where the user can upload an image to the service. The service take the image and make some image processing, this part (the processing) was written with C++ as standalone application that receive an image and return a message, so when the processing is done, the service receive the result (a message) from the processing app and return this to the mobile application.

So.. is this possible with Thrift (if so, i need to read more)? o i need to use something else?

Thanks in advance

  • 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-21T15:43:49+00:00Added an answer on May 21, 2026 at 3:43 pm

    I have never done that before, but I think you should take a look at Thrift which was initially developed by Facebook and allows you to make multiple languages work together via RPC calls.

    Thrift allows you to define data types
    and service interfaces in a simple
    definition file. Taking that file as
    input, the compiler generates code to
    be used to easily build RPC clients
    and servers that communicate
    seamlessly across programming
    languages.

    I encourage you to search on Google with the following keywords : thrift C++ rails webservice etc.

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

Sidebar

Related Questions

First of all, sorry for my English... I have something like this: public class
Hello First sorry for my english. I have started recently my first project on
Sorry if this sounds like a really stupid question, but I need to make
I'm programming a desktop application in Java using NetBeans . My question is this:
I have a windows .NET application that manages many PDF Files. Some of the
i have 2 day's thinking how make this. I have two forms (really 4),
first im so sorry with my english, im new with Django, im from php
First of all sorry for my English. I would like to use a backtracking
First, sorry for my English, im not an American. My question is how can
first of all .. sorry if my english was bad. its my 3rd language

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.