Live data from Hacker News

Cinder - open source library for professional-quality creative coding in C++

libcinder.org

1–10 of 22 posts

Re: Cinder - open source library for professional-quality creative coding in C++

#8
post #6

From the FAQ: >First, when it comes to power and performance, C++ is still the language to beat. Oh really?

What do you find controversial about that statement?

You can certainly argue over which languages are most powerful, but there's really only one other general purpose language that rivals C++ in terms of performance and that's C. C++ being nearly a strict superset of C is almost by definition more powerful.

Re: Cinder - open source library for professional-quality creative coding in C++

#10
post #8
post #6

From the FAQ: >First, when it comes to power and performance, C++ is still the language to beat. Oh really?

What do you find controversial about that statement? You can certainly argue over which languages are most powerful, but there's really only one other general purpose language that rivals C++ in terms of performance and that's C. C++ being nearly a strict superset of C is almost by definition more powerful.

> C++ being nearly a strict superset of C is almost by definition more powerful.

Not necessarily. In the general case, restrictions can make a language more powerful [1], by allowing the user and the compiler to make more assumptions. E.g. removing gotos and mutations seem good ideas.

In the case of C vs C++, removing operator overloading and exceptions could turn out to make the language more powerful.

[1] If you use the right definition of `powerful'. You need a sensible definition that avoids "They are all Turing complete and thus equally powerful."

Post reply on HN