<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I’ve done some experiments with automagically building the unified source files. I have some data that I’ll share with the rest of WebKit when I have more information. But as a quick note, since my current approach to unified sources has the build system decide which cpp files to bundle together, the number of cpp files in the same translation unit will probably be if you think you will likely be doing a lot of incremental builds.<div class=""><br class=""></div><div class="">I agree that there are definitely a number of downsides to unified sources. Ultimately, my primary goal is to make the developer experience as smooth as possible, I’m less concerned with production build times. Although, I would like to improve production build times also.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Keith<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 1, 2017, at 3:48 PM, Michael Catanzaro <<a href="mailto:mcatanzaro@igalia.com" class="">mcatanzaro@igalia.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">On Tue, Aug 1, 2017 at 11:33 PM, Keith Miller <<a href="mailto:keith_miller@apple.com" class="">keith_miller@apple.com</a>> wrote:<br class=""><blockquote type="cite" class=""><div class="plaintext" style="white-space: pre-wrap;">P.S. There is also a reasonable chance that we will do some form of unified sources (compiling multiple cpp files at the same time). In that case we don’t need to change our config.h rules.</div></blockquote><br class=""><div class="">Do you have experience with unified source builds on macOS? We basically never do these on Linux, but it's of course possible. These builds are typically great for production but terrible for development, since everything needs to be recompiled when any file is changed. Also, using static to mark functions as file-private no longer works. This is sure to cause headache. But the benefits may be worthwhile.</div><div class=""><br class=""></div><div class="">Some good description:</div><div class=""><br class=""></div><div class=""><a href="http://mesonbuild.com/Unity-builds.html" class="">http://mesonbuild.com/Unity-builds.html</a></div><div class=""><br class=""></div><div class="">Michael</div></div></blockquote></div><br class=""></div></body></html>