C++ Links: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Claas (Diskussion | Beiträge) (→Variants: Functions of Variants are Covariant) |
Claas (Diskussion | Beiträge) (→Optimization: OutOfLine) |
||
Zeile 62: | Zeile 62: | ||
== Optimization == | == Optimization == | ||
* [https://blog.headlandstech.com/2018/08/15/outofline-a-memory-locality-pattern-for-high-performance-c/ OutOfLine: Reduce cache misses by reducing size of class] | |||
* [https://kristerw.blogspot.co.uk/2016/12/gcc-attributepure-and-c-exceptions.html GCC attribute pure] | * [https://kristerw.blogspot.co.uk/2016/12/gcc-attributepure-and-c-exceptions.html GCC attribute pure] | ||
== Network == | == Network == | ||
* [https://medium.com/hacker-daily/writing-high-performance-servers-in-modern-c-7cd00926828 Writing modern C++ servers using Wangle] | * [https://medium.com/hacker-daily/writing-high-performance-servers-in-modern-c-7cd00926828 Writing modern C++ servers using Wangle] |
Version vom 20. August 2018, 10:45 Uhr
Concurrency
Exceptions and Transactional Operations
Containers
Tuples
Variants
- Polymorphism using variant
- Visiting variants using lambdas
- Polymorphism-polymorphism
- The two line visitor explained
- Functions of Variants are Covariant
Boost Multiindex
Iterators
Functional Programming
Types
Random
Metaprogramming
- Size of an array (another way)
- static_if
- Deep copy using a polymorphic wrapper
- A customizable framework
- Zero overhead currying
CRTP
Covariance, Contravariance, Invariance
Lambdas
- Composing Lambdas in C++14 -- and Functions
- Capturing perfectly-forwarded objects in lambdas
- Fun with lambdas (part 1)
Methods / Patterns
- The Pimpl Pattern - what you should know
- It all comes down to respecting levels of abstraction
- The expression problem