News for hackers. Stuff that matters.
Re:For Better Computing, Liberate CPUs from Garbage Collection by simonask on Thursday May 09, 2019 @01:45PM (#19870414)
Lots of things that people do don't work after `fork()`, though, to the point where `fork()` has become largely irrelevant in new code. For example, threads are not generally compatible. You can also easily run into issues with open files, file locks, etc.

Of course, your point might still be relevant in "legacy" environments with poor threading support anyway. I would argue that those are gradually going away, as even interpreted languages without exposed threading support are increasingly using threads or adopting threads to accommodate performance needs.

Re:For Better Computing, Liberate CPUs from Garbage Collection by viraptor on Thursday May 09, 2019 @04:39PM (#19872198)
This is not legacy. Any application in Ruby, Python, Perl, ... is affected. Majority of the backends of current web have the issue of duplicated heap in all the workers. It's made slightly better by Python introducing gc.freeze in 3.7 (https://docs.python.org/3/library/gc.html#gc.freeze) and Ruby doing something similar soon, but not great.