|
From: | Alex Shinn |
Subject: | Re: [Chicken-users] UTF-8 support in eggs |
Date: | Thu, 10 Jul 2014 23:16:42 +0900 |
Alex Shinn scripsit:
+1. This is what Python 3.x does to help manage the same transition: the
> The clean way to handle this is to duplicate the useful string
> APIs for bytevectors. This could be done without code duplication
> with the use of functors, though compiler assistance may be
> needed for efficiency (e.g. for inlined procedures). Even without
> code duplication there would be an increase in the core library
> size, though we could probably move most utilities to external
> libraries (how often do you need regexps that operate on binary
> data?).
only string APIs that don't have bytevector counterparts are formatting,
string-to-bytevector conversion, and a few others. This API is also
useful for dealing with binary protocols that have ASCII parts.
[Prev in Thread] | Current Thread | [Next in Thread] |