Is it done yet? An API call has taken the control flow and gone to do who-knows-what. Whether you are a component in a distributed system or a human sitting at a GUI application, you want some indication of progress or even the chance to do other work while you wait.
In the age of web APIs and cloud computing, latency and blocking operations have become increasingly important. Both servers and clients need to look for breaks in the control flow and smart ways to defer computation. Open flows and lazy evaluation make applications more responsive and easier to integrate in complex use-cases.
Your straight-line, simple procedure might be a network operation or a long-running computation, but translating either into a lazy form is a similarly easy task. Framing the problem with open and interruptible flows gives you the flexibility to multi-task and distribute work without testing and maintenance complications.
Whether you are publishing modules on the CPAN or designing an in-house system, this presentation will show you simple techniques to make your code more reusable and responsive. Learn how to partition your own algorithms and wrap third-party components to get a handle on the control flow.
Eric Wilhelm is a software and systems consultant, leader of the Portland Perl Mongers, and author of many CPAN modules. Eric is a contributor to several open source projects and founder of a few others.
For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at email@example.com
Download the OSCON Sponsor/Exhibitor Prospectus
For media-related inquiries, contact Maureen Jennings at firstname.lastname@example.org
To stay abreast of conference news and to receive email notification when registration opens, please sign up for the OSCON Newsletter (login required)
Have an idea for OSCON to share? email@example.com
View a complete list of OSCON contacts