IO write buffering missing
Reported by Evan Phoenix | October 1st, 2007 @ 03:18 PM | in 1.0 preview
Currently, IO is unbuffered.
We need to add support for buffered IO, either using a C library (stdio, etc), in the VM, or all in ruby.
Some combination of the later is possible also, letting the VM read and write directly from buffers that are setup by ruby code.
Comments and changes to this ticket
-
Evan Phoenix October 29th, 2007 @ 02:28 PM
- → Milestone changed from 1.0 preview to 1.0
-

Tom Macklin November 12th, 2007 @ 09:30 PM
I was looking around for a starting point on this, and noticed that there are not really any specs under spec/core/io. Would a better place to start be w/ the specs or toying around in shotgun/lib/io.c?
-
Eero Saynatkari November 13th, 2007 @ 12:48 AM
Tom, specs are always a good place to start if they are lacking. IO specs in general in this case, buffering should not be specced as a part of the IO interface. It may belong in an internal spec somewhere though.
-

Tom Macklin November 14th, 2007 @ 08:53 PM
In poking around a bit looking for useful places to start, it seems that there's more pressing things I could be doing for IO. Particularly, I was thinking about writing some specs for argument constraint checking for IO#initialize. Otherwise, I'll would have to do a bunch of type checking in C to ensure I wouldn't crash by passing junk into fcntl/I2N.
-
-
Eero Saynatkari January 20th, 2008 @ 04:52 PM
- → Title changed from IO buffering needs to be added to [TODO] IO write buffering missing
-
Ryan Davis February 29th, 2008 @ 06:31 PM
- → Assigned user changed from to Eric Hodel
- → Milestone changed from 1.0 to 1.0 preview
-
Eric Hodel July 21st, 2008 @ 03:44 PM
- → Assigned user cleared.
- → Tag changed from to io todo
-
Eric Hodel July 21st, 2008 @ 03:44 PM
- → Title changed from [TODO] IO write buffering missing to IO write buffering missing
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
