I work on container-tech and the absence of namespaces and cgroups in the macOS kernel is a continuous source of frustration for my team since you need to work through a VM abstraction for Macs.
What you're talking about is way over my head, but I do understand Linux might be more appropriate for more low-level stuffs and hardcode users like you at the kernel level. I'm happy doing React on my Mac :)