The C++ Standard Library, 2nd edition by Nicolai Josuttis. The Best-Selling Programmer Resource – Updated for C++ Also out: C++17 – The Complete. Programming with C++17 by Nicolai Josuttis. Although it is not as big a step as C++11, it contains a large number of small and valuable language and library. Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 A Tutorial and Reference (2nd Edition) by Nicolai M. Josuttis Hardcover $
|Published (Last):||6 December 2007|
|PDF File Size:||6.40 Mb|
|ePub File Size:||10.11 Mb|
|Price:||Free* [*Free Regsitration Required]|
In this respect, function objects are still a better choice. You are not pedantic. Log in or sign up in seconds. To become successful a new programming language requires not only technical merit but also a critical mass of users. In particular, that includes just about anything that lives below application software in the stack OS, device drivers, network stack, etc. The point is joeuttis are not infinite and they are not ‘free’.
For more specialised tasks such as graphics rendering, the chips have been highly parallel for a long time. The garbage collection is its achilles heel frankly. Want to add to the discussion?
For example, optimizations of functional coding styles have come a long way in recent years. You can’t make abstraction both costless and correct. No, you will never find a performant programming language without weird corner cases and programmer traps.
As commodity hardware gets faster, the commercial pressures push development toward rapid prototyping and product evolution, with less emphasis on achieving optimal speed when anything within a factor of 2—3x or much more, depending on the context is still fast enough for paying customers.
Apparently Visual Josutyis will ‘fix’ this by delaying the loading of a load of dlls – however this points to an alarming trend. However, where it all falls down is in reality. I found that really weird.
On my machine sizeof std:: The new stuff does add a lot of functionality, and that stuff is often damn useful, but sometimes you just want a function pointer. Function classes also come with some downsides. I thought it was usually the caret, but that still leaves this case ambiguous with jjosuttis XOR.
I believe the increased size of std:: I suppose I am being a little pedantic. That one application alone consumes over 2GB of memory when you load a project. Even PHP and other messes of languages. Submit a new text post.
More importantly, I think the performance barrier itself will probably be different in a few years as well. Never underestimate the inventiveness of nature.
You make some good points, particularly when it comes to concurrency as this definitely will lead to a different way of programming.
Nicolai Josuttis: Home Page
You’re right that this is a deficiency. The more we train modern developers that they are, the bigger the problem we will have.
You are absolutely correct. Capturing variables – either by value or by reference – is absolutely equivalent to passing them to the constructor of a function object and making them accessible to operator as member variables. Check on this demo on ideone.