HN user

RSeldon

14 karma
Posts3
Comments8
View on HN

I know there is a big difference between modern C++11 and C.

C11 has standard threads similarly with what you find in C++11, unfortunately you won't find this implemented by all vendors. I hope to see complete support for C11 threads in GCC and Clang in the near future.

Well, C++11 has native threads now and OpenMP looks like a good alternative to Cilk.

Any performance reason for which one would prefer Cilk vs OpenMP ?

patched sources ... gentoo ... environment variables ...

Please stop right there and think at the average Ubuntu user, or at a person that has used Windows as his primary OS and just recently has tried Linux hoping to learn/try/test some C++0x/C++11 codes.

Obviously the linked article was not written with a hard core Linux user in mind.

I understand that, from where you stand, this is trivially simple. Just don't assume everyone has your experience.

You can downvote only the comments, if you find a post particularly offending you can "flag" it once you have the proper karma.

Fortunately this is not Reddit !

If you have installed before gcc from sources on Ubuntu you will notice that this time you need to do some extra steps.

A typical build should be as simple as:

./configure --prefix=where_you_want_this_installed make -j number_of_processors sudo make install

this is not the case if you read the various "bugs" reported on Ubuntu mailing lists.