Comparison chart worries

Anders F Björklund afb at algonet.se
Wed Jan 17 00:35:00 PST 2007


Kevin Bealer wrote:

> I'm wondering if a larger version like this would be useful:
> 
> |String support:
> | D                   C                   C++           Java
> | UTF8,16,32 types    char*, null         string and    Special class with
> | used with D's       terminated          wstring are   language support;
> | static + dynamic    arrays with         ASCII and     is an immutable
> | arrays.             libc's string.h     UTF16 array   array of UTF16
> |                     support functions.  classes.      codepoints.
> 
> It could be a mixture of "what exists" plus "how to do it".

For C that should probably be "char* and wchar_t*" instead...
Support is in <wchar.h> (with the usual C portability issues)

--anders



More information about the Digitalmars-d mailing list