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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:21:47+00:00 2026-05-23T06:21:47+00:00

In my nearest future I will have to make a system with C++ backend

  • 0

In my nearest future I will have to make a system with C++ backend and web frontend (requirements). At the moment, I don’t know much more about it. I think that Frontend will be triggering data delivery, not backend – so no need for Comet-like things.

Because of possibly little experience in this field, I’d really appreciate your comments about design decisions I made.

First of all, I don’t like the option of generating HTML from C++.
So, C++ backend will have to communicate with Javascript frontend. Simplest option I see here is Ajax. I think it should be ok, so far.

Commucating through Ajax with C++ backend means that backend should be capable of handling HTTP. It’d be nice to separate backend which provides actual data from HTTP handling functionality.

Here I see the place for Node.js. I got an overview of it and this’s the place where all my doubts lie.

To have a HTTP handling server on Node.js, which will have the ‘data backend’ as a Node.js module? I think, it should be ok – but I’m not sure that I really need all this asynchronization, so there may be some simpler options I’m not aware of? How would you make such a system?

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-23T06:21:48+00:00Added an answer on May 23, 2026 at 6:21 am

    “All this asynchronization” is not something that Node.js works very hard to provide as an extra. It is a different view of Web serving that is easy as breathing once you understand how Node.js works.

    For example, my colleagues needed a way to wrap a C++ program as a web service, but the program had a significant start-up cost, so they wanted to run just one instance of the program, running in a loop, serving all the web requests. The whole thing in Node.js took less than two screenfuls.

    Wrapping a single program that is called for each request can be done in less than ten lines of Node.js. Don’t think of asynchronicity as a chore – if you embrace it, Node.js is awesome.

    That said, you could go the CGI route, and do it in a bit more standard way, and the end result would be pretty much the same. This may or may not come in handy.

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

Sidebar

Related Questions

Looking to implement a Find Nearest process for a mobile web application that will
I haven't seen this datetime format before: 2010-08-19T16:09:07.08 The nearest I have found in
Recently I have studied k-nearest neighbour and decision trees and I am quite curious
I have this C code for counting nearest prime-number using this method: int countPrime(int
I have come unstuck in my determination of nearest neighbours in Dijkstra's algorithm. I
I need to have an image render with nearest-neighbor resizing and not the bicubic
How can I round a decimal number (floating point) to the nearest integer? e.g.
I need to round a value up to the nearest multiple of 2.5. For
I need to round any non-integers up to the nearest integer, regardless of whether
i want the result of an equation rounded to the nearest integer. e.g. 137

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.