core.simd woes

Dmitry Olshansky dmitry.olsh at gmail.com
Mon Oct 1 23:19:46 PDT 2012


On 02-Oct-12 06:28, F i L wrote:
>
> D has a big
> advantage over C/C++ here because of UFCS, in that we can write external
> functions that appear no different to encapsulated object methods. That
> combined with public-aliasing means the end-user only sees our pretty
> functions, but we're not sacrificing performance at all.

Yeah, but it won't cover operators. If only opBinary could be defined at 
global scope... I think I've seen an enhancement to that end though. But 
even then simd types are built-in and operator overloading only works 
with user-defined types.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list