http://woboq.com/blog/utf-8-processing-using-simd.html All in the article. As D include Unicode as a language feature, I think it is interesting to mention here.