Our great sponsors
-
function2
Improved and configurable drop-in replacement to std::function that supports move only types, multiple overloads and more
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I'm not familiar with JUCE, but Idle works with any C/C++ code as long as you define your swappable code inside a Service/Interface that you expose. You got the point. Also, you can decide how much of your logic you want to provide as a Service. Sometimes it makes sense to just define a Service as a small entry point for your entire logic and sometimes it is beneficial to implement all your logic split across multiple smaller Services. That's entirely up to your preference. The minimal effort to implement a hot-swappable UI is usually a single Service that depends on an Interface that provides widgets to be added to the UI. Take a look into DynDependencies and the ex03_01* examples like https://github.com/Naios/idle/blob/master/examples/ex_03_01_consumer/consumer.cpp which could be helpful.
Thank you, function2 is also used heavily in Idle as a type-erasure backend for continuable that is the primary asynchronous task abstraction.