aui icon indicating copy to clipboard operation
aui copied to clipboard

`example_app`: Migrate to all clang?

Open Alex2772 opened this issue 7 months ago • 0 comments

Platform Compiler
Windows msvc
Linux gcc
macOS Apple clang
Android clang
iOS Apple clang
Emscripten clang-based
Code quality pipelines clang
Standard C++ LSP for IDEs? clang-tidy

At this moment, all platforms except Windows and Linux use clang-based compiler. Maybe we should use clang for example_app on Windows and Linux as well?

I have faced a compiler-specific issue here and honestly it's not convenient. I just want to get rid of a common C++ issue "variety of toolchains" and narrow down the compilers in question to clang only for AUI app developers by default.

How many rust compilers are there? rustc. How many Swift compilers? Exactly one. So why should we bother modern C++ application developers with compiler-specific quirks?

This does not mean that AUI will stop supporting MSVC and GCC on Windows and Linux - rather AUI will provide support and precompiled binaries for clang for these as well. (AUI does this already for Linux)

Google Chrome does this already.

Alex2772 avatar May 16 '25 01:05 Alex2772