Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by cyber_kinetist on Sunday October 30, 2022 @08:12AM
(#33393730)
Good to mention Microsoft is also depending on Clang for a lot of things (Microsoft is also quietly pushing devs to use Clang-Cl, as MSVC has really showed its age and is still notorious for bad error messages and subpar compiler optimizations…)
Some console vendors are also depending on it as well (Sony, Nintendo). Clang really is the most important C++ project of all time, because it’s the only compiler that’s truly cross-platform (Windows, Mac, Linux, iOS, Android, game consoles, etc…) And recent failures in it catching up with C++20 should be very alarming.
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by pjmlp on Sunday October 30, 2022 @09:02AM
(#33394117)
Where? MSVC is not going anywhere and has been partially rewritten.
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by delta_p_delta_x on Sunday October 30, 2022 @09:58AM
(#33394553)
> Microsoft is also quietly pushing devs to use Clang-Cl
Source?
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by snovv_crash on Sunday October 30, 2022 @08:00AM
(#33393666)
Have you tried using ranges with latest clang? That's a pretty central part of C++20 and it doesn't work.
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by boundchecked on Sunday October 30, 2022 @08:20AM
(#33393778)
Have you tried converting iterations to SIMD and using vector extension to target x86, ARM, Webassembly and compile for Linux/Windows/MacOS with a simple piece of code? It's a pretty significant speed up and it only work with Clang.
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by snovv_crash on Sunday October 30, 2022 @08:25AM
(#33393834)
What does that have to do with standards support?
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by pjmlp on Sunday October 30, 2022 @09:02AM
(#33394128)
None of that is part of ISO C++ compliance.
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by throwaway311022 on Sunday October 30, 2022 @10:11PM
(#33401291)
How is ISO C++ compliance relevant to actual development?
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by pjmlp on Monday October 31, 2022 @02:25AM
(#33402617)
For many places it is quite relevant when choosing official compiler toolchains.
By the way, nice way of creating a throwaway account for the anti-ISO posts all over the place.
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by throwaway311022 on Sunday October 30, 2022 @10:22PM
(#33401356)
> Ranges [are] pretty central part of C++20
Just shows how distant the committee is from the developers.
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by pjmlp on Sunday October 30, 2022 @09:01AM
(#33394113)
I am not the only one, this is a common discussion point on C++ communities.
Clang first should spend it's resources catching up with C++20, instead of spending them on C++23. The standard is yet to be fully finished.
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by throwaway311022 on Sunday October 30, 2022 @10:19PM
(#33401341)
Who exactly cares about C++20? Most (mis)features of the “standard” won’t be used for years anyway, until the codegen stabilizes and performance impact will be known. Most of people in these communities never got a dollar for a line of C++, and people who did rarely express their opinion (but you can still find it online if you try)
Re:A Tour of C++, 3rd edition (covering C++20 plus a few lik...
by snovv_crash on Monday October 31, 2022 @03:06AM
(#33402807)
It seems pretty obvious to me that you never lived through the bad old days when compilers all did whatever they wanted.
Tell me again how much you care about C++20 when a library with a feature you want uses it but your toolchain doesn't support it.
Also, why isn't Microsoft in the "profit from Clang" list? Is Clang-CL not shipped in Visual Studio Installer? Did they find a way to compile Edge with VC++?
https://en.cppreference.com/w/cpp/compiler_support/23