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

Max Klyga via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 21 12:37:37 PST 2015


On 2015-01-21 19:12:20 +0000, Fool said:

> 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.

This is a very good video demonstrating the power that 'alias this' 
gives to people that really want to controll object layout and manage 
details of memory access patterns.

AoS and SoA annotations are interesting. This should be easily 
replicatable with the power of D's templates except for the 
'robustness' part of his talk, as you would have to change declarations 
at invocation part to switch AoS to SoA and back.

The material in his talk would make a great blog post demostrating 
power of 'alias this'



More information about the Digitalmars-d mailing list