Memory Leaks leading to undesired growth and exhaustion of resources are by far the most common production problem reported on enterprise scale applications. Closure, a powerful semantic feature in functional programs which are used pervasively in modern languages, is a prominent source of unanticipated memory leaks. In this presentation, I will explain most common use cases where Closures are used and their implications to memory retention.
Objective of the presentation:
The intent is to illustrate critical importance of closures in the functional programming, demonstrate peculiar ways in which closures retain resources and provide best practices in addressing those scenarios to help developers write efficient programs.
* Introduction to Functional Programming
* Introduction to Closures
* Different use cases of Closures
* Showcase potential memory leaks through Closures
* Showcase programming best practices with Closures
Attendee pre-requisites - If none, enter "N/A":
NA