I only have 16 cores. Linux, windows and macOS already load about 50+ processes at startup. If we moved shared libraries into their own processes, we’d be talking hundreds or thousands of processes running all the time. They don’t get a core each.
But, if you’re interested in this architecture, smalltalk did something similar. Fire up a smalltalk vm and play around!
Re:Hidden dependencies in Linux binaries
by otabdeveloper4 on Sunday April 14, 2024 @03:45PM
(#40033815)
Sorry, not dedicating a whole CPU core for your shitty React app.
Re:Hidden dependencies in Linux binaries
by JackSlateur on Sunday April 14, 2024 @02:53PM
(#40033403)
You know that process A (the caller) is currently running. You assume that process B (the callee) is running in another core on the same NUMA nodes.
And if you have one per core anyway so nothing "switches"? Computers aren't single-core 80486es anymore. We have highly parallel machines nowadays and old intuition about what's expensive and what's cheap decays by the year.