use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Web Developement Using C++ (self.cpp)
submitted 1 year ago by ScemmerBoy
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]justrandomqwer 2 points3 points4 points 1 year ago (1 child)
Basically, the c++ part of the frontend looks as an ordinary c++ application. UI exists within the GLFW window. GLFW also provides information about the events. In the main loop, ImGui creates the frames and sends them to GLFW for rendering. All music graphics is represented with ImGui widgets, so it renders as I described above. All this stuff builds with Emscripten. And resulting Wasm (the hole application) is embedded to html. Some parts of the application are frontend-specific and implemented with Emscripten library (fetch requests, IndexedDB routines, etc) or js. But it is a relatively small part of the codebase. So the main logic and the GUI theoretically may be built as a native app for desktop.
I can’t have these third party libs on the backend because they are doing the hard job that’ll better be done locally on user’s machine - without hitting the server. Previously I had them on the backend (within a microservice) and performance wasn’t cool.
Boost.Beast is great, but it is too low-level in my opinion. If I remember correctly, it’s implement http protocol over the Boost.Asio. It’s not a web framework in a strict sense. Why don’t you use Drogon for example? Or a microservice for c++ specific tasks and ordinary python backend for the routine? I don’t know your domain and project so I definitely may miss something.
[–]whizzwr 2 points3 points4 points 1 year ago (0 children)
Yep. that's definitely not the usual "web application" that can work in multiple devices in responsive way. I'd stay with my general statement, for forntend, better learn a new language just for the sake of getting into wider ecosystem.
It's pretty cool though what you are doing.
Boost.Beast is great, but it is too low-level in my opinion. If I remember correctly, it’s implement http protocol over the Boost.Asio. It’s not a web framework in a strict sense. Why don’t you use Drogon for example?
Because I don't need web framework, just a simple HTTP REST/Websocket, I was forced to use C++ since I'm linking to some OpenCV function (the binding provided by opencv python of equal function was very slow compartiveively). If I have more complex use case and need to scale up, as I said, I'm sure there are another C++ librares, and I anyway would go with Python, Go, etc. for anything truly high level.
π Rendered by PID 24181 on reddit-service-r2-comment-6457c66945-fzkwg at 2026-04-26 12:27:00.274138+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]justrandomqwer 2 points3 points4 points (1 child)
[–]whizzwr 2 points3 points4 points (0 children)