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

I can’t tell what answer you’re looking for here.

You said above that “mmap allows reading and writing large data structures without copying, which can be a huge benefit depending on the use case.”

Yes, of course that’s true, and the Sublime Text authors are clearly well aware it’s true. That’s why they decided to use mmap in the first place. They agreed with you.

This is them reporting, with hindsight, that for their use case mmap introduced a lot of tricky bugs that required complex platform-dependent fixes, and that the performance gains were real but modest. Therefore, in hindsight, it probably wasn’t a good choice.

Which part are you arguing with?



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: