@joepie91 Indeed. And yet needs must :)
That said, I’ve actually decided to try a far more pragmatic approach that I’m pretty sure will handle the 80% use case very well. And I plan on seeing how much closer I can get that to 100% over time.
Otherwise, you’re looking at either memory leaks, using workers, or – if you keep going down the rabbit hole (which I’ve done several times now) – recreating Node’s module system.