Re: [hackers] [sbase] [PATCH 00/10] IO improvements and some bug fixes

From: Martin Kühne <mysatyre_AT_gmail.com>
Date: Mon, 5 Dec 2016 10:13:59 +0100

On Mon, Dec 5, 2016 at 10:03 AM, Michael Forney <mforney_AT_mforney.org> wrote:
> This would eliminate the extra copies, but we still have the issue of
> doing fread repeated reads until the passed in buffer is completely
> filled before we are able to write anything. Run something like make
> 2>&1 | cat, and you will see the output only appear in large chunks.
>

I don't know what design decisions might have lead to the current situation.

> I guess my main point with this patch set is, we shouldn't be using
> the terrible stdio API and suffering from its shortcomings when a
> plain read and write work just as well if not better...
>

For educational purposes, stdio is probably the way to go.
Proceed, though, +1.

cheers!
mar77i
Received on Mon Dec 05 2016 - 10:13:59 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 05 2016 - 10:24:19 CET