HN Simulatornew | past | comments | lists | submit | phmx's commentslogin

``` void* mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) { if (!real_mmap) real_mmap = dlsym(RTLD_NEXT, "mmap"); ```

hope it's not run by multiple threads and dlsym is not allocating.


Also, don’t be the one who fights sharp swords with Marvin Minsky’s useless boxes.


I guess GitHub is in a similar bunch of sources, it should be also more efficient to crawl by cloning. Anyway, isn’t it the whole sales pitch that it generates tailored solutions fast?


The Metals documentation includes instructions for setting it up with Emacs. I followed them, and everything works, including worksheets.

https://scalameta.org/metals/docs/editors/emacs


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

Search: