News for hackers. Stuff that matters.
Re:Hidden dependencies in Linux binaries by otabdeveloper4 on Sunday April 14, 2024 @02:13PM (#40033104)
> is switching address spaces at the same time going to kill you?

The answer is "yes".

I won't stop you, if you want to make React even slower, be my guest. I want off this ride.

Re:Hidden dependencies in Linux binaries by quotemstr on Sunday April 14, 2024 @02:39PM (#40033289)
> The answer is "yes".

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.

Re:Hidden dependencies in Linux binaries by josephg on Sunday April 14, 2024 @04:07PM (#40034008)
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.