finalize or withdraw? Alex Shinn (19 Aug 2005 04:24 UTC)
Re: finalize or withdraw? Thomas Bushnell BSG (19 Aug 2005 05:18 UTC)
Re: finalize or withdraw? Alex Shinn (19 Aug 2005 05:21 UTC)
Re: finalize or withdraw? Hans Oesterholt-Dijkema (19 Aug 2005 07:57 UTC)
Re: finalize or withdraw? Hans Oesterholt-Dijkema (19 Aug 2005 07:57 UTC)
Re: finalize or withdraw? Michael Sperber (20 Aug 2005 06:54 UTC)
Re: finalize or withdraw? Alex Shinn (22 Aug 2005 04:17 UTC)
Re: finalize or withdraw? Michael Sperber (22 Aug 2005 16:06 UTC)
Re: finalize or withdraw? Per Bothner (22 Aug 2005 18:04 UTC)
Re: finalize or withdraw? Michael Sperber (23 Aug 2005 07:19 UTC)
Re: finalize or withdraw? Per Bothner (23 Aug 2005 07:59 UTC)
Re: finalize or withdraw? Michael Sperber (23 Aug 2005 08:14 UTC)
Re: finalize or withdraw? Per Bothner (24 Aug 2005 04:07 UTC)
Re: finalize or withdraw? Michael Sperber (24 Aug 2005 17:30 UTC)
Re: finalize or withdraw? Alex Shinn (24 Aug 2005 02:57 UTC)
Re: finalize or withdraw? Alex Shinn (23 Aug 2005 01:27 UTC)
Re: finalize or withdraw? Michael Sperber (23 Aug 2005 07:21 UTC)
Re: finalize or withdraw? Alex Shinn (23 Aug 2005 08:10 UTC)

Re: finalize or withdraw? Alex Shinn 23 Aug 2005 01:27 UTC

On 8/23/05, Michael Sperber <xxxxxx@informatik.uni-tuebingen.de> wrote:
>
> > Yes, SRFI-68 can easily handle all of these issues, simply using
> > READ/WRITE-U8 for READ/WRITE-BYTE.  This is because SRFI-68 makes no
> > distinction between binary and character ports.  [...]
>
> I don't quite understand what you mean here---it's true that you
> probably can't use the underlying abstractions for text I/O, but you
> certainly can perform text I/O using the facilities in SRFI 68,
> building on the underlying binary I/O.  Trying to build a
> multi-encoding text I/O system that's magically compatibly with what
> the common platforms have (i.e. the common implementations of wchar,
> .NET, Java etc.), and still functionally desirable is hard, and I have
> trouble seeing the benefits.

Per addressed whether this is desirable or needed, and I think that
discussion is better left to the SRFI-68 list as he suggested.

Granted, compatibility with existing platforms is difficult, but it's far
from impossible.  I've already suggested four broad categories of
solutions that could be used, and my worry now is simply that it
seems like too much of a last-minute change and hasn't been
thought out from the beginning.

> > Another way of looking at it is that SRFI-68 is flexible enough to allow
> > us to create new port types with an explicit binary vs character
> > distinction.
>
> That distinction is really anathema to its design approach---see the
> Design Rationale section.

I wasn't actually suggesting Schemes supporting SRFI-68 voluntarily
restrict themselves in this manner, I meant rather to show what the
problem is along with a more concrete solution implemented using
SRFI-68, like using a hash-table to implement a vector.

--
Alex