Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have an overly reductive take on this—it’s Unix environment variables.

You have your terminal window and your .bashrc (or equivalent), and that sets a bunch of environment variables. But your GUI runs with, most likely, different environment variables. It sucks.

And here’s my controversial take on things—the “correct” resolution is to reify some higher-level concept of environment. Each process should not have its own separate copy of environment variables. Some things should be handled… ugh, I hate to say it… through RPC to some centralized system like systemd.



Windows registry just sort of hovering in the backdrop


Something that is still inheritable, between “there is one and it is global” and “there is a separate copy for each process”.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: