Fixing C's Biggest Mistake

Iain Buclaw ibuclaw at gdcproject.org
Sat Dec 24 20:52:53 UTC 2022


On Saturday, 24 December 2022 at 09:54:41 UTC, Siarhei Siamashka 
wrote:
> On Saturday, 24 December 2022 at 09:30:15 UTC, RTM wrote:
>> On Saturday, 24 December 2022 at 09:23:10 UTC, GrimMaple wrote:
>>> I wouldn't bring Remedy as a success story considering they 
>>> ditched D right after Ethan left.
>>
>> I disagree. Without core.SIMD, there would be nothing to ditch.
>
> Is or was anyone other than Remedy using `core.simd`? There had 
> to be a very good reason to design it in a way that is 
> incompatible with the de-facto standard GCC intrinsics and 
> vector extensions.

GDC and LDC provide implementations for the generic intrinsics - 
in 
[gcc.simd](https://github.com/gcc-mirror/gcc/blob/master/libphobos/libdruntime/gcc/simd.d) and [ldc.simd](https://github.com/ldc-developers/druntime/blob/ldc/src/ldc/simd.di) respectively though.  I can only think of the intel intrinsics library that would use the non-portable `__simd` functions for the sake of DMD support.


More information about the Digitalmars-d mailing list