logoalt Hacker News

derefryesterday at 6:42 PM3 repliesview on HN

So, this linker does fast incremental linking, which is great for development iteration speed.

But I assume that any kind of incremental linking, is mutually exclusive with link-time optimization? I.e. you'd never want to use this option for a release build?


Replies

wsvetoday at 4:09 PM

For releases you're generally building it all at once in a merge request/deployment pipeline anyway

dapperdraketoday at 12:56 AM

Research "cl:define-compiler-macro".

It has been done before.

And LTO is when the C people and the C++ people started to agree.