New competitor to D

Paulo Pinto pjmlp at progtools.org
Fri Jul 22 09:44:30 UTC 2022


On Friday, 22 July 2022 at 08:42:40 UTC, Ola Fosheim Grøstad 
wrote:
> On Friday, 22 July 2022 at 08:10:49 UTC, Paulo Pinto wrote:
>> Which tutorials?
>
> Performance oriented ones, such as GPU-compute with Metal.

The more recent ones make use of Objective-C runtime API called 
directly from C++,

https://developer.apple.com/metal/sample-code/

Objective-C++ documentation is gone from 
https://developer.apple.com

>
>> Here is the thing, if the large majority of C++ world never 
>> moves beyond C++17, with cherry picked features from later 
>> standards, does it really matter?
>
> Perhaps not for legacy corporate codebases, but for people who 
> have more recent code bases it probably will.
>
> It matters because stack-less coroutines is a significant 
> feature, by the time Carbon is ready with tooling (say in 5 
> years) frameworks will have adopted stack-less and people will 
> look forward to C++26. That most likely includes HPC stuff.

HPC cares about MPI, OpenACC, SYCL and CUDA, they will go with 
whatever version they support.

Also they are already good served with HPX (C++11 based).

>
>> A paper standard only matter as much as there are actually 
>> compilers supporting it.
>
> MSVC and GCC are heavy weights, and most Clang extensions are 
> close to GCC, so switching a codebase from Clang to GCC isn't 
> really a big deal (or shouldn't be for reasonable code bases).

MSVC only matters for Windows and XBox developers, and the new 
push is most likely triggered from WinDev and XBox business units 
not being .NET fans, contrary to what is happening at Azure, 
where .NET, Go, Java and Rust rule the party.

So that leaves GCC, and how much Red-Hat/IBM care to keep it up 
to date post ISO C++20.


More information about the Digitalmars-d mailing list