vittorioromeo.info
modern-cpp-features
vittorioromeo.info | modern-cpp-features | |
---|---|---|
1 | 47 | |
51 | 19,073 | |
- | - | |
10.0 | 3.9 | |
over 1 year ago | 8 months ago | |
Assembly | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vittorioromeo.info
-
A teardown of code gen for std::function usage and comparison to old-school function techniques
There are other ways for the function signature to be visible. Concepts can be used (requires C+20) but the implementation needs to remain in the header file. On the other hand if one wants to put the function implementation in .cpp and does not need to store the passed callable but only to call it, it may be better to use something like function_ref/function_view which will allow the base function to be called with different callable types - std::function, lambdas, function pointers, etc without needing to construct std::function object just to call it inside the function. example The implementation of the function_view was taken from here and adapted slightly.
modern-cpp-features
-
Ask HN: Catching Up on C++?
Just go through this https://github.com/AnthonyCalandra/modern-cpp-features and you should be fine.
If you also like thorough explanations and graphs, there's https://hackingcpp.com/ that could answer many questions you might have.
By the way, just in case, bookmark this online C++ reference https://eel.is/c++draft/ for diving in deep waters.
Good luck!
-
C++23: The Next C++ Standard
I'm a little 10 years out from writing C++ professionally and I found this cheat sheet[0] useful. Basically if you have an inkling of the concept you're looking for, just search on that cheat sheet to find the relevant new C++ thing. Specifically for me, we used Boost for smart pointers which are now part of the stdlib, and threads are now part of the stdlib as well.
[0] https://github.com/AnthonyCalandra/modern-cpp-features
- E-Book Kindle sau PDF (engleză) despre C++
-
What proportion of C++ used more often than others?
A more productive way to go about it would be to ask "What are the features in each version of C++ past C++11 that I should care about the most?" instead. In that case you could take a look at things like https://github.com/AnthonyCalandra/modern-cpp-features and https://github.com/mortennobel/cpp-cheatsheet, see what appeals to you, ignore what does not.
-
What's the best book to learn C++?
Looks like there's a version history here
-
Extended C++ education for advanced/seasoned developers
As someone suggested cppcon and c++ talks, also I would reccomend reading this: https://github.com/AnthonyCalandra/modern-cpp-features and all things in the papers section in this: https://en.cppreference.com/w/cpp/compiler_support
- Brushing up
-
What are some good books to learn more about the C++ ecosystem?
I've already done a bit of research which has led me to the The Definitive C++ Book Guide & List. From that, I've decided to go over The C++ Programming Language (4th Edition) to learn C++11 and then this GitHub repo to learn the remaining C++14/17/20 features.
-
Ask HN: Is C++ making a comeback? “modern C++” versus Golang/Rust/Zig/Nim?
clickable:
"Welcome back to C++ - Modern C++" https://learn.microsoft.com/en-us/cpp/cpp/welcome-back-to-cp...
"21 New Features of Modern C++ to Use in Your Project" http://www.vishalchovatiya.com/21-new-features-of-modern-cpp...
"What is modern C++"? https://www.reddit.com/r/cpp_questions/comments/tgs6ir/what_...
"C++ is the next C++" https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p26...
"modern c++ features" https://github.com/AnthonyCalandra/modern-cpp-features
C++ 23 to introduce module support "https://www.infoworld.com/article/3662808/c-plus-plus-23-to-..."
"C++ 2023" https://en.wikipedia.org/wiki/C%2B%2B23
- Functie ca valoare intr-un map
What are some alternatives?
vim-cpp-modern - Extended Vim syntax highlighting for C and C++ (C++11/14/17/20/23)
serenity - The Serenity Operating System 🐞
cppfront - A personal experimental C++ Syntax 2 -> Syntax 1 compiler
functools - Functional tools in Go 1.18 using newly introduced generics
cpp20_in_TTs - C++20 features described in Before/After tables ("Tony Tables")
OOP-in-C - Simple and efficient implementation of OOP in C suitable for real-time embedded systems.
cppinsights - C++ Insights - See your source code with the eyes of a compiler
threeify - A Typescript 3D library loosely based on three.js
pfr_non_boost - Boost.PFR without the boost namespaces
free-programming-books - :books: Freely available programming books
chromium - The official GitHub mirror of the Chromium source
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl