News for hackers. Stuff that matters.
Re:John Carmack on Parallel Implementations (2018) by codesushi42 on Friday August 02, 2019 @12:06PM (#20594094)
At the expense of adding a hacky conditional to your execution path. Fine for a one off, but not for any larger workload.

Instead, bind different modules to different binary build targets. If you're smart about your module size, compilation time is a non issue. It will be way more maintainable. And by forcing yourself to do this, you force yourself to modularize your code in an extensible way instead of placing flag hacks everywhere.

There are no comments on this comment yet.