4 ms·
> How many times do you have to re-learn file IO? Dunno. Bytes IO or text IO? evented IO? Lazy IO? Monadic IO? Which platform are you on? Will there be concurr
by masklinn 15y ago
> How many times do you have to re-learn file IO?
Dunno. Bytes IO or text IO? evented IO? Lazy IO? Monadic IO? Which platform are you on? Will there be concurrent access? Is your file always a file or is it also a socket?
Yeah, you re-learn file IO quite a bit I'd say. And that's without talking about APIs going from straightforward (and broken) to completely baroque (and still broken).
Oh sure, sometimes
> it's really to [read a file] quickly and but not understand any of the foundations.
isn't it?
- rhizome 15y agoI don't know from Monadic I/O, but at least a couple of those might appear to the untrained eye to be application I/O rather than actual file I/O, which I would guess has been pretty uniformly oriented around the open(3) idiom by now.