Linked by Thom Holwerda on Tue 17th Aug 2010 22:14 UTC
General Development C++ is usually synonymous with object-oriented programming (OOP), and further replenished in no small measure by popular technical literature. This article tries something different - functional programming with C++ using the open source FC++ library from Yannis Smaragdakis and Brian McNamara. Learn how you can use FC++ to implement basic functional programming.
Thread beginning with comment 437282
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[6]: Bad pun
by tbcpp on Wed 18th Aug 2010 14:45 UTC in reply to "RE[5]: Bad pun"
tbcpp
Member since:
2006-02-06

LLVM actually compiles many programs these days. It's even self-hosting last I checked.


As far as the comments about it being anti-free....I'd more say the GCC's view is worse. LLVM exists because GCC is so horribly coded that it's impossible to try to modify it. OSS has many tools for its defense, intentional code obfuscation should not be one of them.

Reply Parent Score: 1

RE[7]: Bad pun
by vivainio on Thu 19th Aug 2010 17:34 in reply to "RE[6]: Bad pun"
vivainio Member since:
2008-12-26

LLVM actually compiles many programs these days. It's even self-hosting last I checked.


Being self hosting is much easier than compiling the real world C++ code out there; you can achieve this by a conservative coding style, for example.

LLVM exists because GCC is so horribly coded that it's impossible to try to modify it. OSS has many tools for its defense, intentional code obfuscation should not be one of them.


GCC is improving; they even allow C++ these days (about time, it's 2010).

Reply Parent Score: 2