Feedback on a single-header C++ UI library for Linux and Windows
▲ 32 r/Cplusplus+1 crossposts

Feedback on a single-header C++ UI library for Linux and Windows

I'm developing LiteUI, a single-header C++ library for desktop application development on Linux and Windows.

The library aims to support a shared codebase across both platforms. As an example project, I've been working on a photo editor inspired by Lightroom.

I'd appreciate feedback from the C++ community, particularly on the code structure, API design, cross-platform compatibility, and overall architecture.

imgur.com
u/dEvator8085 — 5 days ago

Is capturing shared_ptr by value in lambda safe for a realtime audio callback ??

I have a lambda passed to a streaming audio callback that captures a shared_ptr, can its refcounting or potential heap allocation on copy could cause problems if the callback runs on a dedicated audio thread with hard realtime constraints.

https://github.com/IAmTheFool/flux.git

reddit.com
u/dEvator8085 — 2 months ago
▲ 27 r/androiddev+1 crossposts

FluxUI — write your C++ UI once, run on Windows, Linux, and Android natively

FluxUI — write your C++ UI once, run on Windows, Linux, and Android natively

Most C++ UI frameworks drop the ball on Android. FluxUI doesn't — same C++20 codebase, all three platforms. The framework handles all platform-specific details under the hood so you never have to think about them.

The API is Flutter-inspired (declarative widgets, reactive state), and there's a CLI to scaffold and run projects in two commands.

Just tagged v0.1.0. It's early but the core is solid.

GitHub: https://github.com/HeyItsBablu/flux

Feedback welcome — especially from anyone who's tried cross-platform C++ UI and given up.

u/dEvator8085 — 5 months ago