Data-Oriented Demo: SOA, composition via crazy 'using'

Justin Whear via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 22 09:40:17 PST 2015


On Wed, 21 Jan 2015 19:12:20 +0000, Fool wrote:

> Jonathan Blow published another video [1] presenting the progress of his
> language. He is treating two main topics:
> 
>   - a keyword preliminary called 'using' which seems to be quite
> close to 'alias this';
>   - an annotation SOA for pointers and arrays which allow high
> level treatment of structures of arrays;
> 
> Jonathan does not seem to be aware of 'alias this' in D.

I just whacked this out in D: http://dpaste.dzfl.pl/90d96cf05792

The string mixin for the members is only necessary because there's no 
other way to initialize the arrays (can't use parameterless constructor, 
no init() function, etc.)


More information about the Digitalmars-d mailing list