Greetings, all. Two talks scheduled for April's LAC++. Brandon Harvey is going to introduce a new C++ SDK. In his words:
I'll be talking about Greenhouse, a new C++ SDK for creative coders, developed right here in Los Angeles. My team at Oblong Industries just released it to the world on April 2, and it is free for most uses.
Greenhouse is a minimalist version of Oblong's own g-speak SDK (which we use internally to build spatially-aware computing environments and applications that are multi-user, multi-platform, and multi-device). With Greenhouse we have taken the core parts of g-speak and distilled them into an API whose goal is to be approachable, powerful, and concise. Greenhouse includes our own custom Kinect-processing pipeline, and hooks for working with Leap Motion, Wiimotes, mobile device input, etc.
Making C++ a friendly environment for creative experimentation is a challenge. I'll talk about how we approached that challenge in the design of the API, and try to show off some of what Greenhouse makes possible.
After that, we'll hear a little number entitled "Lambdas, Templates, and Barely Not Return Type Polymorphism. Oh my!" from the venerable Chris Smith.
C++11 Lambdas are a much more convenient syntax for functors, but they come with a heavy price: every lambda is its own opaque type, making it hard to wedge it in to other not so generic type safe code. While it might seem impossible to address, there is at least one way to do it exploiting a powerful but little known C++ idiom that simulates return type polymorphism. This talk walks through the basics of templates, why they and std:: function are useful for functors/callbacks, a real world problem involving them, and how to make it all work without losing your mind.
See you all on 4/9.