3 ms·
I think it is the consequence of reusability. We do not want to write everything from scratch understandably but the issue here is that every library you use, w
by wg0 3y ago
I think it is the consequence of reusability. We do not want to write everything from scratch understandably but the issue here is that every library you use, would not have exactly the amount of features that you need so there's lot of stuff that would be shipped regardless of how much of that reusable library you're using. I might be wrong on that part (maybe static linking does not work that way and does cherry pick portions)
Or at least that's how it works for some languages. You cannot have just a portion of a jar included as your dependency. It comes all or nothing.
Tree shaking etc does exist for the frontend world but I am not so sure how much efficient that is.