Linux Today: Linux News On Internet Time.

More on LinuxToday

Learning FC++: The C++ functional programming library

Aug 17, 2010, 23:35 (0 Talkback[s])
(Other stories by Arpan Sen)


Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers

[ Thanks to An Anonymous Reader for this link. ]

"Why try functional programming, specifically with FC++?

"Some of the advantages that functional programming has over other programming paradigms, such as OOP, are:

* Conciseness of code
* Programming that's free of side effects (no global/static variables manipulated by endless set/get routines)
* Fast prototyping
* FC++ provides a wealth of syntax and library functions that help make the transition smooth for Haskell programmers.

"You get around the fact that C++ does not have any functional programming constructs by using libraries. FC++ is the best available open source implementation of a C++ based functional programming library that you can plug in with legacy C++ code. FC++ has been used in projects such as BSFC++, which is a library for functional bulk synchronous parallel programming in C++."

Complete Story

Related Stories: