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

I've seen terrible, terrible binary sizes with Eigen + debug symbols, due to how Eigen lazy evaluation works (I think). Every math expression ends up as a new template instantiation.




Eigen is one of the worst libraries when it comes to both exe size and compile times. <shudder>

In terms of compile times, boost geometry is somehow worse. You're encouraged to import boost/geometry.hpp, which includes every module, which stalls compile times by several seconds just to parse all the templates. It's not terrible if you include just the headers you need, but that's not the "default" that most people use.

boost is on my “do not ever use ever oh my god what are you doing stop it” list. It’s so bad.

Same.



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

Search: