Unanswered Questions
102 questions with no upvoted or accepted answers
7
votes
0
answers
1k
views
Zeromq bidirectional asynchronous transmission?
I have a system which consists of two applications.
Currently, two applications communicate using multiple zeromq publish/subscribe sockets generated for each specific type of transmission.
Sockets ...
6
votes
1
answer
266
views
Dynamically load user code from a common library
My project aims to provide a common interface between multiple different HDL simulators, so users can write test benches that will work no matter the simulator used. In this situation, it is the ...
6
votes
1
answer
576
views
Requesting information regarding the use of MUI vs. the use of GetText for i18n/L10n of Windows desktop applications
I have spent the past two days investigating which technology I will use to support translations of text strings (as part of an overall internationalization migration) for an archaic (VC6) Windows ...
4
votes
0
answers
2k
views
Python and C++ repository structure
I'm refactoring the directory structure of a large Python repo that has a few dozen C and C++ files littered throughout. Is there a suggested architecture for a Python package that contains C/C++ code ...
4
votes
0
answers
997
views
What are the benefits of an input/output component design?
For the company I work at, all of our projects,
including a new one started last year, are written in C89.
We write for vxWorks (a real time embedded operation system).
Our software runs multi-...
3
votes
0
answers
244
views
How to encapsulate functions inside a library
I'm working on a project that uses an in-house library, which is also used by other projects.
There are some classes and methods in other classes that are not used outside the library itself, is there ...
3
votes
0
answers
286
views
C++ dependency management across projects
We are developing a benchmarking framework in C++, with Make and CMake as build tools. The aim of the framework is to allow others who build algorithms to perform head-to-head comparison against prior ...
3
votes
0
answers
99
views
Creating bindable input handler in C++ spanning two separate modules
I have a wxWidgets application. This is the first, main module. The second module is an openGL engine. It's a model-view-(controller) structure, where application is the view (and the controller), ...
3
votes
0
answers
101
views
How to architect rule matching with multiple conditionals and outcomes
I'm working on allowing my users to create their own ruleset for data that's coming in. All of the data below is sample mock data and not in relation to our product. Example of a rule (there can be ...
3
votes
0
answers
70
views
Visual interpolations: independent or linked to object?
I have a class that I use to render GUI elements on the screen, this class has a tree structure (with children, parent, and siblings). I created an additional class which allows me to interpolate some ...
gnat's user avatar
- 20.5k
3
votes
0
answers
845
views
Best software architecture for an efficient network tunneling in C++
Before jumping to my questions, let me explain my project's background.
I am part of a team that organize the network of a famous LAN event. Most of the games nowadays actually don't run locally but ...
2
votes
0
answers
219
views
Speed up implementation of "log transform" on 2D image
I'm working on an implementation of the "log transform" operator on an image for C++, and we currently have it formulated as follows (python code). Note we use log10 instead of the natural ...
2
votes
0
answers
105
views
Is there an elegant way to handle run-time dependent object composition without using dynamic_cast?
Context
I'm attempting to design a modelling framework that is modular and easy to extend and test. (I'm trying to follow open/closed, dependency injection, and composition over inheritence principles)...
2
votes
0
answers
136
views
Integer type for data structure index
I have implemented an append-only tree data structure as a class in C++20. Internally it uses std::vector<Node<T>> where Node<T> contains an int parent_index and T payload. A node ...
2
votes
0
answers
145
views
How to design software driver for the analog to digital converter?
I have been developing software driver for the analog to digital converter in C++. The a/d converter is primary intended for conversion of the temperature signals. The temperature signals are then ...