[Y-devel] Proposal: message structure change

Rupert Mazzucco maz at ap.univie.ac.at
Fri Feb 27 21:13:53 GMT 2004


On Fri, 27 Feb 2004, Alexey Boyko wrote:

>
> > >>I'm still thinking what better - UTF-8 or UCS4.
> > UTF-8.  It's endian agnostic and ASCII compatible.  I believe Linus had
> > some good points about this on the lkml.
>
> May be this suggestion you like: all Y datagrams is array of uint32_t. On
> reception, entire array is converted with ntohl, and then processed.

Possible advantage:  If we implement something like a shared memory
extension, it could be applied to large textbuffers too if app programmers
are encouraged to keep their text data in ucs4.

Regards,
Rupert




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved