slbotbm commented on PR #2661: URL: https://github.com/apache/iggy/pull/2661#issuecomment-3904115664
@hubcio I've been looking into making the cpp client async. As I'd stated on discord, uniffi-rs and the related cpp version do not suport async operations so I'm not considering them. Between using cxx-async, and the method mentioned in https://cxx.rs/async.html, I am leaning more towards using cxx-async. This is because without using cxx-async, we would have to manage the locks, atomic states, and callback rules by ourselves, which could result in errors. cxx-async takes care of this to a certain extent, so the risk of erroring is less. With regards to the design, I'd like to keep the sync version to support C++17, and write additional code for the async version that will use C++20. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
