4 ms·
I don't really believe that you can separate the language from how it's used. I blame Java when people write code that beats the crap out of the GC because Java
by ye-olde-sysrq 4y ago
I don't really believe that you can separate the language from how it's used. I blame Java when people write code that beats the crap out of the GC because Java both makes it easy (especially with streams sometimes) and also is flippant about it in most recommendations (which emphasize that the gc is good, allocating an object is cheap, and so on). Python somehow doesn't seem to have that happen nearly as often, for instance.
So I also blame Scala when people over-use implicits and go functional-mad because Scala encourages it.
- kaba0 4y ago> Python somehow doesn't seem to have that happen nearly as often, for instance. It really is not a sarcastic comment, but Python is just not that fast to make GC the performance bottleneck in ordinary usage. It uses ref counting, which trades off performance to a more deterministic deallocation (plus there is also the GIL).