`example_app`: Migrate to all clang?
| 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.