Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Mio – Cross-platform header-only C++11 library for memory-mapped file IO. Parent comment
You might appreciate this toy Go package I hacked together: https://github.com/lukechampine/freeze
It uses mmap and mprotect to "freeze" Go objects; if you try to modify a frozen object, the program crashes.
You might appreciate this toy Go package I hacked together: https://github.com/lukechampine/freeze
It uses mmap and mprotect to "freeze" Go objects; if you try to modify a frozen object, the program crashes.