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

We should also really update all tutorials out there to use things like `make -j12` and makefiles to link and compile using multiple threads.


make -j will do it, but having played around a bit via machines on packet.net, RAM is the limiting factor.


> If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously.

On large projects you'll run OOM quickly if you're compiling thousands of files at once. All the context switches also slow down compilation.




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

Search: