Session

The Exceptional Performance Of Kotlin - Lil' Exception Revisited

As the adage goes, "don't use exceptions to control flow", but why? In 2014, Aleksey Shipilëv published "The Exceptional Performance of Lil' Exception", an excellent article about the performance characteristics of the system of exceptions in Java and how some exception-handling strategies fare in various scenarios to demonstrate why the adage exists. Since then, Kotlin has arrived on the scene and has introduced new options for handling exceptions, for example inline classes and sealed classes. With the help of the Java Microbenchmark Harness, this presentation will explore the benefits, drawbacks, and performance characteristics of various exception-handling strategies that can be employed using Kotlin's features.

Severn Everett

Backend Developer @ Apiumhub

Barcelona, Spain

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top