Of possible interest: fast UTF8 validation

Ethan Watson gooberman at gmail.com
Wed May 16 14:48:54 UTC 2018


On Wednesday, 16 May 2018 at 14:25:07 UTC, Jack Stouffer wrote:
> D doesn't seem to have C definitions for the x86 SIMD 
> intrinsics, which is a bummer

Replying to highlight this.

There's core.simd which doesn't look anything like SSE/AVX 
intrinsics at all, and looks a lot more like a wrapper for 
writing assembly instructions directly.

And even better - LDC doesn't support core.simd and has its own 
intrinsics that don't match the SSE/AVX intrinsics API published 
by Intel.

And since I'm a multi-platform developer, the "What about NEON 
intrinsics?" question always sits in the back of my mind.

I ended up implementing my own SIMD primitives in Binderoo, but 
they're all versioned out for LDC at the moment until I look in 
to it and complete the implementation.


More information about the Digitalmars-d mailing list