Re: IO opinions -- lines vs records vs streams

2004-05-10 Thread Jeff Clites
On May 10, 2004, at 9:05 AM, Dan Sugalski wrote: At 8:31 AM -0700 5/10/04, Jeff Clites wrote: Also, of course, you can't guarantee that things are atomic at the OS level. That is, if I try to write a large amount of data to a socket, the OS will only take part of that data at a time. Parrot can k

Re: IO opinions -- lines vs records vs streams

2004-05-10 Thread Dan Sugalski
At 8:31 AM -0700 5/10/04, Jeff Clites wrote: On May 10, 2004, at 7:31 AM, Dan Sugalski wrote: At 10:34 AM +0100 5/10/04, Tim Bunce wrote: On Sat, May 08, 2004 at 04:59:52PM -0700, Jeff Clites wrote: > On May 8, 2004, at 10:30 AM, Dan Sugalski wrote: > >(Note that, regardless of anything else, we

Re: IO opinions -- lines vs records vs streams

2004-05-10 Thread Jeff Clites
On May 10, 2004, at 7:31 AM, Dan Sugalski wrote: At 10:34 AM +0100 5/10/04, Tim Bunce wrote: On Sat, May 08, 2004 at 04:59:52PM -0700, Jeff Clites wrote: > On May 8, 2004, at 10:30 AM, Dan Sugalski wrote: > >(Note that, regardless of anything else, we do need to separate out >stream IO and reco

Re: IO opinions -- lines vs records vs streams

2004-05-10 Thread Dan Sugalski
At 10:34 AM +0100 5/10/04, Tim Bunce wrote: On Sat, May 08, 2004 at 04:59:52PM -0700, Jeff Clites wrote: > On May 8, 2004, at 10:30 AM, Dan Sugalski wrote: > >(Note that, regardless of anything else, we do need to separate out >stream IO and record IO, both for layer filtering reasons and for pu

Re: IO opinions -- lines vs records vs streams

2004-05-10 Thread Tim Bunce
On Sat, May 08, 2004 at 04:59:52PM -0700, Jeff Clites wrote: > On May 8, 2004, at 10:30 AM, Dan Sugalski wrote: > > >Do we want to make a distinction between record reads and just plain > >"read me X (bytes|codepoints|graphemes)" requests on filehandles and, > >if so, do we think it's worth dist

Re: IO opinions -- lines vs records vs streams

2004-05-08 Thread Jeff Clites
On May 8, 2004, at 10:30 AM, Dan Sugalski wrote: Do we want to make a distinction between record reads and just plain "read me X (bytes|codepoints|graphemes)" requests on filehandles and, if so, do we think it's worth distinguishing between fake records (line-oriented things) and real records (w

IO opinions -- lines vs records vs streams

2004-05-08 Thread Dan Sugalski
Okay, as I work on this, time to weigh in with opinions. Do we want to make a distinction between record reads and just plain "read me X (bytes|codepoints|graphemes)" requests on filehandles and, if so, do we think it's worth distinguishing between fake records (line-oriented things) and real re