News for hackers. Stuff that matters.
Re:Why Java exceptions are slow (and Common Lisp conditions ... by gaius on Saturday January 17, 2009 @06:54PM (#438762)
In Java you can do stuff like, the JVM is going to bounds check you anyway, so why bother checking yourself if you're about to go off the end of an array? Just i++ and catch IndexException (or whatever it's called).
Re:Why Java exceptions are slow (and Common Lisp conditions ... by brl on Saturday January 17, 2009 @07:22PM (#438784)
You can do that, but nobody writes Java code like this since it's more awkward and aesthetically offensive than explicit bounds checking.