A few notes on choosing between Go and D for a quick project

Tobias Pankrath via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 20 10:26:50 PDT 2015

> You may want to answer there, not here. I've also posted a 
> response.
> Andrei

Nitpick: Your solutions that use readText validate their input 
and the python version probably doesn't. You could mention that 
(I cannot comment on SO).

Interestingly readText is faster than byChunck.joiner regardless.

Nitpick 2: http://www.unicode.org/versions/Unicode7.0.0/ch05.pdf 
(chapter 5.8) splitLines is still incomplete, missing to break on 
U+0085, U+000B, U+000C. Would a PR for this be accepted?

I'd say the coolest answer to this question would have been: D 
has not only one of the fastest, but the only correct solution to 
this that works with UTF8, UTF16 and UTF32 at the same time.

More information about the Digitalmars-d mailing list