3 ms·
I guess it doesn't include linking ? (which takes quite some time)
by wiz21c 1y ago
I guess it doesn't include linking ? (which takes quite some time)
- andyferris 1y agoOne thing I never understood in this context here (fast JIT/debug builds/hot reloads/-O0) is why you would need much static linking. Generally your modules are going to have a DAG relationship. Even code inside a large compilation unit could potentially be factored out (automatically) into smaller modules. Could you not just generate a bunch of small dynamically linked libraries? Would the system dynamic loader become the speed bottleneck? Even if so, wouldn't reloading just a portion of the DAG in a hot-reload context be much faster than linking everything beforehand?