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

Well, you might know that all those source files belong to exactly one executable (or library), but how would the compiler know?


You could combine the build system (e.g. make), the linker, and the compiler into one app that knows everything and does it all in memory. It could be slightly faster but much less flexible.


Isn't that what msbuild does for .NET (Core and 5+, not Framework)? The `obj` directory contains some intermediate stuff, but not object files.




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

Search: