kill the commas! (phobos code cleanup)

via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 7 07:25:49 PDT 2014


On Sunday, 7 September 2014 at 11:42:51 UTC, Marco Leise wrote:
>> I think the D approach to strings is unpleasant. You should 
>> not have slices of strings, only slices of ubyte arrays.
>
> Rust does that for at least OS paths.

Which is a good idea. If you also require SSE alignment (or cache 
a padding) then you can get efficient operations on it.

Modern SIMD can act on 32 bytes in parallel, so libraries that 
aim for single-char semantics are bound to be under-performing. 
Which is no good for system level programming.


More information about the Digitalmars-d mailing list