Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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?



I 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.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: