binary vs non-binary ports
Per Bothner
(16 Sep 2004 04:51 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(16 Sep 2004 05:34 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(16 Sep 2004 06:54 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(16 Sep 2004 07:26 UTC)
|
Re: binary vs non-binary ports
Shiro Kawai
(16 Sep 2004 08:30 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(17 Sep 2004 03:43 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(17 Sep 2004 05:32 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(17 Sep 2004 17:22 UTC)
|
Re: binary vs non-binary ports
Shiro Kawai
(17 Sep 2004 20:44 UTC)
|
Re: binary vs non-binary ports Hans Oesterholt-Dijkema (17 Sep 2004 21:26 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(18 Sep 2004 02:15 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(18 Sep 2004 16:31 UTC)
|
Re: binary vs non-binary ports
Bradd W. Szonye
(18 Sep 2004 17:43 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(18 Sep 2004 19:51 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(18 Sep 2004 18:04 UTC)
|
Re: binary vs non-binary ports
Bradd W. Szonye
(18 Sep 2004 19:21 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(20 Sep 2004 02:06 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(20 Sep 2004 02:46 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(18 Sep 2004 02:21 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(18 Sep 2004 20:04 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(17 Sep 2004 21:37 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(17 Sep 2004 22:40 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(17 Sep 2004 22:48 UTC)
|
Dear SRFI-56 members, > If people wish to have the means of ensuring a binary port in > portable way, I'd rather have open-binary-{input|output}-file, > which can be easily implemented on both (a) implementations that > doesn't distinguish binary/character port, and (b) implementations > that requires binary/character distinction at port creation. I have a different opinion about this open-binary-input|output-file. What about the following existing constructs: open-input|output-string open-input|output-cstring (bigloo) open-input|output-pipe open-input|output-socket (values input-port output-port) run-process command (mzscheme?) or even (my srfi proposal on SHM) open-input|output-shm The functions in SFRI-56 are saying enough about the binary character of the primitives. I think, one should not interfere with the creative process of software engineers by limiting the possibilities of the language at hand. For instance: 1. To communicate with PostgreSQL both text- and binary input/output are neccessary. Text for the normal SQL handling, binary for the COPY-IN constructs for blobs. 2. In the protocol of many instant messengers, both text and binary protocols are mixed. To communicate a ZIP file, binary protocol is used, to communicate (meta) information, text protocol is used. Let the software engineer decide how to handle the "markup" of his/hers protocols. If he/she wants to mix clarity of text with performance of binary protocols. Let him/her do so. -- Hans Oesterholt-Dijkema