News for hackers. Stuff that matters.
Re:Rust Solved Dependency Hell by bjorn2k on Thursday July 18, 2019 @03:10AM (#20467488)
If you rely on global state, this global state is also mangled to a different symbol, this might be undesirable. For example, if you use a logger which relies on a extern defined variable. Your singleton is duplicated. Also all your code is duplicated.

I agree that how rust does it is a very nice solution.

There are no comments on this comment yet.