4 ms·
I'm genuinely curious to see how this goes as a lot of languages have the same dead-battery problem. In Java for instance, StringBuffer and StringBuilder offer
by exabrial 5y ago
I'm genuinely curious to see how this goes as a lot of languages have the same dead-battery problem.
In Java for instance, StringBuffer and StringBuilder offer a very similar interface but one offers locking. Nowadays, most locking concerns are left to the caller, not the called. HashTable/HashMap are another example... The nice thing is, old libraries "just work". Java is trying to hide older parts of the API with Modules, and it remains to be seen whether or not this solution will take off and it will be adopted into other languages.