Thursday, July 03, 2008

Selector Function Object (Part 2)

This post is a long time waiting, and surprisingly the TR1/Boost.Fusion supporting implementation basically wraps whatever Joel De Guzman has already implemented in Fusion (more precisely, making a function object that wraps a call to at_c<...>). Someone has informed me that the Boost.Fusion selectors now have function object equivalents, so the problem being addressed by this implementation is somewhat already solved.

Now I'm really looking forward to seeing more of the functional programming approach trickling more into C++. Looking at functional programming languages like Haskell, Lisp, and Erlang, I'm slowly getting more and more convinced that functional programming will play a major role in the future of programming -- and that what we have right now are barely scratching the surface of the scale of problems we're able to solve using functional programming, high performance parallel computing, and idioms translated into libraries/frameworks in existing languages.

If you're still interested in the implementation I have, please send me an email so that I can share the implementation with you.

0 comments: