On 16 March 2012 01:32, Robert Jacques <[email protected]> wrote: > 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. >
I haven't stolen any names that aren't already taken by core.simd. I just want to claim those primitive types already aliased in std.simd to enhance them with some more useful base-level functionality.
