logoalt Hacker News

Gigachadyesterday at 10:04 PM1 replyview on HN

Isn’t this solution solved by just compiling your libraries with your main app code? Computers are fast enough that this shouldn’t be a huge issue.


Replies

squirrelloustoday at 2:01 AM

This assumes a lot:

- the same entity has access to the source of both the library and the main app

- library and main app share the same build tooling

And even if that’s the case, you have the problem of end users accidentally using different versions of the main app and the library and getting unexpected UB.