Re:Dependency Confusion: How I Hacked Into Apple, Microsoft ...
by eecc on Wednesday February 10, 2021 @10:52AM
(#26090791)
Java does. Of course it’s never been used systematically and it has received precious little attention to DevOps ergonomics, but the infrastructure is there
[ Parent
| on HN ]
Re:Dependency Confusion: How I Hacked Into Apple, Microsoft ...
by bluetech on Wednesday February 10, 2021 @01:07PM
(#26092680)
Java actually doesn't need to add any features for it to support this, it needs to remove them. I recommend reading this excellect article: http://habitatchronicles.com/2017/05/what-are-capabilities/
The gist is:
Rule #1: All instance variables must be private
Rule #2: No mutable static state or statically accessible authority
Rule #3: No mutable state accessible across thread boundaries
Re:Dependency Confusion: How I Hacked Into Apple, Microsoft ...
by detaro on Wednesday February 10, 2021 @11:12AM
(#26091060)
I didn't know that. Do you happen to have a link with more details at hand?