Hacker News new | ask | show | jobs
by jcelerier 2021 days ago
I use asio in all my network-using projects. It doesn't particularly bother me, the files that use asio take a few seconds to build ?
1 comments

Those few seconds can add up very quickly when you’re making incremental changes and have to keep recompiling. I ended up having to write non-template wrappers for all my ASIO stuff and compile them as a separate object file, in order to keep my workflow manageable. Building that one object file would double my total build time.
I've actually done that all day long, at most it takes 3-4 seconds between code editing and the app / test running, I'd definitely not trade faster build times for something else in that case, especially when my IDE highlights errors when I type which greatly reduces the need for constant rebuilds.