9 ms·
Clang is now feature complete for C++14
- anirul 13y ago194 194 ? any reason except pure luck ?
- coldtea 13y agoWhy, is there any reason to consider 194194 significant? From 100100 to 194194 there are 194 of those kind of numbers (e.g 133133). Even more if you count other symmetries as "significant", e.g 100001 or 123321
- legulere 13y agoEvery number is interesting http://en.wikipedia.org/wiki/Interesting_number_paradox http://en.wikipedia.org/wiki/Interesting_number_paradox
- codeflo 13y agoOr no number is interesting. The argument never proves the base case. ;)
- ithkuil 13y agoIf there was a number of interesting numbers, that number should include itself in the count, since we clearly have some interest in this topic. So if the number of interesting numbers is 0, then zero is an interesting number hence the number of interesting numbers is at least 1.
- mikeash 13y agoAlternately: if there are no interesting numbers, that fact is itself interesting. But that fact can be encoded as a number (see Gödel), and the number must be interesting if the fact is interesting. Thus there is at least one interesting number.
- galonk 13y agoThe fact being interesting doesn't mean its encoding is interesting. I might find a movie interesting but looking at the raw bytes of the MP4 file much less so ;)
- mikeash 13y agoDoes such a thing actually exist outside of the encoding used to represent it? Uh oh, I think we may have run into... PHILOSOPHY! http://xkcd.com/903/ http://xkcd.com/903/
- rvkennedy 13y agoSurely there are only 95 repeated pairs of three digits between 100100 and 194194? And another 95 symmetric numbers. With a leading zero you have 195 each way.
- Aardwolf 13y agoIn hex it's 0x2F692, so no longer interesting
- kzrdude 13y agoIt's SVN and revisions are sequential, so it is only a matter of time, not luck.
- astrodust 13y agoIt's a sign that you're over-due for switching to Mercurial or Git for your version control. Subversion is the equivalent of using paper tape to store your source code. It's centralized, bloody slow, and missing a number of features taken for granted in a system like Git.
- hamidr 13y agoNo template constraints yet?
- recentdarkness 13y agoconcepts are not finalized yet, AFAIK
- thwest 13y agoThere's some proposal people are calling concepts-lite that is more or less a cleaner enable_if. There won't be a static_if in 14 from what I hear.
- arcatek 13y agoWe shouldn't worry about C++11 / C++14 compiler support, which will eventually come, but rather standard libraries. It's a pain that libstdc++ still does not support some C++11 features[1] (no std::move on streams, for example). They probably have good reasons, such as keeping the same ABI as long as possible, but it's sometimes very frustrating. [1] http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2011 http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#s...
- cokernel_hacker 13y agolibcxx has not only implemented C++14 but they have also implemented all known defect reports at roughly the rate they get published! http://libcxx.llvm.org/cxx1y_status.html http://libcxx.llvm.org/cxx1y_status.html
- mekishizufu 13y agoUnfortunately libc++ is fully supported on Mac OSX only, with ports on their way. I actually use libc++ on linux but there're still some things that need to be fixed. [1] [1] http://libcxx.llvm.org/results.Linux.html http://libcxx.llvm.org/results.Linux.html
- cokernel_hacker 13y agoThose results are from over a year ago [1]. [1] http://llvm.org/viewvc/llvm-project?view=revision&revision=161192 http://llvm.org/viewvc/llvm-project?view=revision&revision=1...
- mekishizufu 13y agoGood point. I will run the tests myself to see the current status.
- eonil 13y agoI still see the cuchar fail on Clang source 3.3, but maybe different on trunk.
- talles 13y agoGCC is behind in the race http://gcc.gnu.org/projects/cxx1y.html http://gcc.gnu.org/projects/cxx1y.html Anyone recommends a good book, or any other dense/complete material, on C++11/C++14? I barely got C++11, never really practiced, and I could use a good material to dive deep into it.
- pmelendez 13y agoFor some videos I would recommend Going Native videos (http://channel9.msdn.com/Events/GoingNative/2013 http://channel9.msdn.com/Events/GoingNative/2013) Also there is The tour of C++ (http://www.stroustrup.com/Tour.html http://www.stroustrup.com/Tour.html) which offer a fresh start to the language. But the one book I am waiting for is Effective C++ 11/14 which should coming up next year.
- sebm 13y ago> But the one book I am waiting for is Effective C++ 11/14 which should coming up next year. Likewise! And from your first link there is a sort of preview of Scott Meyers' upcoming book http://channel9.msdn.com/Events/GoingNative/2013/An-Effective-Cpp11-14-Sampler http://channel9.msdn.com/Events/GoingNative/2013/An-Effectiv...
- adolgert 13y agoMeyers' presentation slides, with notes, are available and excellent: http://www.artima.com/shop/overview_of_the_new_cpp http://www.artima.com/shop/overview_of_the_new_cpp. They include C++14. It isn't the deep dive, but it's a great overview.
- twoodfin 13y agoIn addition to the Going Native videos, Microsoft's STL wrangler, the conveniently named Stefan T. Lavavej, has a couple of terrific series on the STL itself[1] and the core C++ language[2]. The second course is newer, and thus covers more finalized C++11/14 features. The more technical videos on Channel 9 are terrific stuff, and hooray for download links! Kudos to Microsoft. [1] http://channel9.msdn.com/Series/C9-Lectures-Stephan-T-Lavavej-Standard-Template-Library-STL-/C9-Lectures-Introduction-to-STL-with-Stephan-T-Lavavej http://channel9.msdn.com/Series/C9-Lectures-Stephan-T-Lavave... [2] http://channel9.msdn.com/Series/C9-Lectures-Stephan-T-Lavavej-Core-C-/Stephan-T-Lavavej-Core-C-1-of-n http://channel9.msdn.com/Series/C9-Lectures-Stephan-T-Lavave...
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- z3phyr 13y agoDestination C++17 :)
- stevelaz 13y agoThis is great :). On another note, I'm surprised that they're not using git or another dvcs.
- pmelendez 13y agoThey actually do[1]: git clone http://llvm.org/git/llvm.git http://llvm.org/git/llvm.git [1] http://llvm.org/docs/GettingStarted.html#git-mirror http://llvm.org/docs/GettingStarted.html#git-mirror
- gcr 13y agoWhy does that matter? The best SCM is the one your team is familiar with. (The second-best is git, of course. :)
- stevelaz 13y agoIt doesn't matter as long as your team is productive. I was just surprised, given the size of the project and all.
- deleted 13y ago[deleted]