Hacker News new | past | comments | ask | show | jobs | submit login

Yeah, but you can equally ignore fgetc and friends in C. My only point here is that IO in the standard library is not very good in either language.

IMO a parser should be reading the entire file, and then parsing as a block of memory, by default, for most use cases these days. That way you don’t have to think about IO while you are parsing. Streaming parsers are niche these days for good reasons.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: