airhacks.fm podcast with adam bien

← airhacks.fm podcast with adam bien27 aug · 1 u 01 min

Turning Back Time: Strings, Locks and Garbage Collectors in Java

Turning Back Time: Strings, Locks and Garbage Collectors in Java27 aug1 u 01 min

An airhacks.fm conversation with Ian Rogers about:

Java's early API design strengths versus verbose C++/STL manuals,

the Java 7 String.substring behavior change from an O(1) view over the character array to an O(n) copy,

substring performance regressions at Google,

implementing a custom substring as a workaround,

designing APIs without knowing future customers,

the SPEC JVM98 jack parser generator throwing an exception per matched token,

exceptions used for control flow violating the exceptions-are-exceptional principle,

JVM benchmarks skewed toward fast exception throwing,

ANTLR and JavaCC as later parser tools,

class loaders pairing a type with a runtime notion,

ClassNotFoundException thrown from nested jar files,