Creeping Bloat in Phobos

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 28 11:10:25 PDT 2014


On 9/28/2014 10:03 AM, John Colvin wrote:
> There is no magic bullet for unicode in a systems language such as D. The
> programmer must be aware of it and make choices about how to treat it.

That's really the bottom line.

The trouble with autodecode is it is done at the lowest level, meaning it is 
very hard to bypass. By moving the decision up a level (by using .byDchar or 
.byCodeUnit adapters) the caller makes the decision.


More information about the Digitalmars-d mailing list