Powerful reflection capabilities make implementing nice architectural design patterns such as MVC and Dependency Injection very simple in languages like Java and Kotlin. In particular, reflective tags and annotations make it possible for a DI framework to "feel out" the layout of the program, "catch" controllers and views as they are spawned, and inject them with dependencies accordingly with very little boilerplate or overhead. Think Spring in Java/Kotlin: doing an MVC with its @Controller annotations is cheap, easy, and clean like you wouldn't believe. Android with Hilt and Dagger is pretty much the same way, too, though it "prefers" MVVM over MVC.
But in C++, we have none of that. Reflection doesn't exist there!
So how can one make a relatively neat/clean MVC implementation with dependency-injected model services? Are there existing frameworks? I've been playing around for a long time with various iterations of thus using Google Fruit (https://github.com/google/fruit) as a dependency injection system, but I've yet to find a fully-satisfactory arrangement; a lot seem to make a mess particularly of the app entry point stuff. Ideally the Views should be able to be extended into common GUI widget systems (like Qt) while keeping the Controller (event response) and Model (domain layer, services) agnostic of the particular widget system in use. I'm not expecting it to be quite as neat as Android and Spring - but how neat can we go?
Or should one just ditch C++ (despite this being a compute-intense app) altogether? :D