Hacker News new | past | comments | ask | show | jobs | submit login

> D's string is not text by itself because it is an array of UTF-8 code units.

Bytes. It's an array of bytes. D's char type isn't actually restricted to UTF-8 code units, char x = '\xFF'; works just fine even though that's not UTF-8.




I see what you mean but array of bytes is something else in D: byte[].




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: