On Thu, 15 Mar 2012 14:02:15 -0500, Manu <[email protected]> wrote:
On 15 March 2012 20:35, Robert Jacques <[email protected]> wrote:
On Thu, 15 Mar 2012 12:09:58 -0500, Manu <[email protected]> wrote:
[snip]
This sounds reasonable. However, please realize that if you wish to use
the short vector names (i.e. float4, float3, float2, etc) you should
support the full set with a decent range of operations and methods. Several
people (myself included) have written similar short vector libraries; I
think having having short vectors in phobos is important, but having one
library provide float4 and another float2 is less than ideal, even if not
all of the types could leverage the SMID backend. For myself, the killer
feature for such a library would be have the CUDA compatible alignments for
the types. (or an equivalent enum to the effect)


I can see how you come to that conclusion, but I generally feel that that's
a problem for a higher layer of library.

Then you should to leave namespace room for that higher level library.

Reply via email to