Scheme language standardization process
On Fri, Oct 29, 2010 at 5:46 PM, Thomas Bushnell, BSG <tb@x> wrote:I'm not an autonomous implementation designer; I am the servant of the
> I don't know what "this" refers to in your first sentence. It seems that it
> refers exactly to my worry that you'll start redesigning what a good
> networking interface looks like. Can you PLEASE not try to be "more
> convenient", and instead focus on clear and transparent mappings to the
> extremely well-understood functions that Posix provides?
WG, which voted "yes" on "simple Posix", "TCP", and "UDP" and "no" on
"full Posix" and "full sockets". Feel free to propose an alternative
that satisfies these requirements.
> We're supposed to guess what the PORT argument is, which is annoying givenI've added: ''Port'' may be an integer or a string; the meaning of a
> that there are both numeric names and string names for ports. Can I pass a
> string and get magical transformation from getservent? What if the string is
> a series of digits and there is a service with those digits defined as a
> symbolic name?
string is implementation-dependent.
> Can you please think about either specifying some rules-of-thumb with
> examples for Posix bindings, or let OS designers design operating systems,
> and stick to programming languages?
I personally would have been happier just to provide all 1200
interfaces exactly as-is, with type mapping and somewhat more
Scheme-like names, but the WG voted otherwise. That means more work
for me.
Some people need these things, but others don't.
> What is "datagram-channel-interface" supposed to return? Is there someAs specified, an interface in this API is a string whose content is
> "interface" datatype? Or a string?
implementation-defined.
> What if the channel receives datagrams onI don't see how that's possible: if a socket is bound to a particular
> two of my host's five interfaces?
interface and port, trying to bind it again returns EINVAL.
> What doesImplementation-dependent.
> "datagram-channel-connected-host" return? (Does it return whatever was
> passed at connect time, or does it return the value of getpeername, or does
> it return a reverse lookup of the value of getpeername, or does it return a
> canonicalized version of what was passed at connect time?)
> As it sits, this is a disaster, and is exactly why I expressed my hope thatWe (that is, WG2) have said we're not up to it, while still calling
> you would not adopt this usual disastrous strategy. I understand that Posix
> is a lot of work, but better to say we're not up to it than to do the usual
> half-baked thing.
for something else.
_______________________________________________ Scheme-reports mailing list Scheme-reports@x http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports