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

That would be read-only though, so not an ideal solution for Sublime. Although one could mmap and then reference the original from a structure describing how the file was modified.

However mmaping files which can be modified by another process concurrently is tricky. You can just get killed by SIGBUS.



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: