Get Lanyrd on your mobile (iPhone, Android and more) - check it out here

Predicate Dispatch

A session at Clojure/conj 2011

When designing functions that can leverage more than the type of the first argument, the Clojurian reaches for multimethods. Yet after some experience, he/she might realize that multimethods have considerable limitations, particularly the closed nature of the dispatch function itself. How can we fulfill the promise of open extension? Predicate dispatch as described by Craig Chambers and Weimin Chen seems promising, but their implementation hardwires many important details. By leveraging the literature around high performance pattern matching compilation as found in Standard ML, OCaml, and Haskell and by driving the compilation with a logic engine, we can achieve a fully open predicate dispatch system with considerable performance gains over multimethods.

About the speaker



Coverage of this session

Sign in with Twitter to add slides, notes or videos to this session

Clojure/conj 2011

United States United States / Raleigh

10th12th November 2011

Tell your friends!

When

Time 9:50am10:30am EST

Date 11th November 2011

Short URL

lanyrd.com/shhfg

Official event site

clojure-conj.org

View the schedule

Topics

See something wrong?

Report an issue with this session