Detecting end of line

Pages: 12
I don't like the idea of duplicating the std libraries just to make thread safe versions and, frankly, thread safety is the job of the programmer, not the library. Java did a reversal on this with an initially thread-safe collections library which was superseded by a non-thread safe (faster) version.
... and ended up with both having very similar performance, after the recent compiler advances, at least on the server VM which eliminates unneeded thread-safety code automatically. So maybe the initial decision was not that bad.


Last edited on
Topic archived. No new replies allowed.
Pages: 12