modern-cpp-features
cppinsights
Our great sponsors
modern-cpp-features | cppinsights | |
---|---|---|
47 | 24 | |
18,768 | 3,429 | |
- | - | |
3.9 | 7.8 | |
6 months ago | 10 days ago | |
Python | C++ | |
MIT License | 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.
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.
- 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
cppinsights
-
C++ Insights – See your source code with the eyes of a compiler
Sorry, I don't know about an Emacs plugin. All the plugins/extensions I'm aware of are listed in the Readme.md: https://github.com/andreasfertig/cppinsights/#c-insights--vi...
I'm happy to add an entry for Emacs once somebody develops a plugin for that editor.
-
C++20 Idioms for Parameter Packs
Thank you! This is exactly the sort of thing I was looking for.
I found the source at https://github.com/andreasfertig/cppinsights
-
Why does ![]{} equate to 0?
You can put it into https://cppinsights.io/ and see the conversions that happen under the hood.
- C++ lernen
-
BitMasks in 2023
I tried this at https://cppinsights.io/ to see what is generated for something like:
-
Ask HN: Best way to learn C++ in 2022
> https://cppinsights.io/ it's a must so you can investigate what gets generated by templates behind the scenes.
> http://eel.is/c++draft/ bookmark this, you will need it!
Now, about books I would suggest the latest "A tour of C++" by Bjarne Stroustrup; it's ideal for experienced programmers that want to learn modern C++ rather fast.
Other books would be Scott Meyers' Effective Series, Andrei Alexandrescu and Herb Sutter are a must, and of course Jason Turner's "C++ Weekly" series [1]; of course apart from the books, the links I have originally shared are more than enough to cover everything around C++.
-
Ask HN: Where can I find C++ by Example?
https://cppinsights.io/ it's a must so you can investigate what gets generated by templates behind the scenes.
-
Ask HN: Any tool to look C++ interpretation template form syntax to substitution
Try https://cppinsights.io. For example, go to https://cppinsights.io/s/8401262a and click the play button at the top left.
If you're doing something more complex, you might need metashell. See http://metashell.org/manual/how_to/index.html#see-what-templ.... But you have to really, deeply, love C++ to get much out of it.
- Question on a For each loop.
- Can anyone recommend a good book/resource on C++/C++ compilers? With detailed discussions of what happens "under the hood".
What are some alternatives?
vim-cpp-modern - Extended Vim syntax highlighting for C and C++ (C++11/14/17/20/23)
LLVM-Guide - LLVM (Low Level Virtual Machine) Guide. Learn all about the compiler infrastructure, which is designed for compile-time, link-time, run-time, and "idle-time" optimization of programs. Originally implemented for C/C++ , though, has a variety of front-ends, including Java, Python, etc.
serenity - The Serenity Operating System 🐞
lsif-clang - Language Server Indexing Format (LSIF) generator for C, C++ and Objective C
cppfront - A personal experimental C++ Syntax 2 -> Syntax 1 compiler
GSL - Guidelines Support Library
functools - Functional tools in Go 1.18 using newly introduced generics
gcem - A C++ compile-time math library using generalized constant expressions
cpp20_in_TTs - C++20 features described in Before/After tables ("Tony Tables")
opencilk-project - Monorepo for the OpenCilk compiler. Forked from llvm/llvm-project and based on Tapir/LLVM.
OOP-in-C - Simple and efficient implementation of OOP in C suitable for real-time embedded systems.
fccf - fccf: A command-line tool that quickly searches through C/C++ source code in a directory based on a search string and prints relevant code snippets that match the query.