|
|
|
|
|
by zahlman
404 days ago
|
|
> The only real solution I can think of to deal with this long term is ultra-fine-grained symbols and dependencies. Every function, type, and other top-level language construct needs to declare the set of things it needs to run (other functions, symbols, types, etc). When you depend on that one symbol it can construct, on demand, the exact graph of symbols it needs and dump the rest for any given library. You end up with the minimal set of code for the functionality you need. Or you have ultra-fine-grained modules, and rely on existing tree-shaking systems.... ? |
|