cppbestpractices
ModernCppStarter
cppbestpractices | ModernCppStarter | |
---|---|---|
10 | 6 | |
7,807 | 4,077 | |
0.9% | - | |
2.9 | 4.3 | |
25 days ago | 25 days ago | |
CMake | ||
GNU General Public License v3.0 or later | The Unlicense |
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.
cppbestpractices
-
How to improve the code quality
Turn on warnings-as-errors (-Werror or /WX). There’s a good list of recommended warnings in Jason’s book: https://github.com/cpp-best-practices/cppbestpractices
- Dockerfile for CMake?
-
Miscellaneous questions on Debug/Release compilation and compilers
Take a look at: https://github.com/cpp-best-practices/cppbestpractices/blob/master/02-Use_the_Tools_Available.md
- Collaborative Collection of C++ Best Practices
-
Collecting the best C++ practices
Collaborative Collection of C++ Best Practices. This online resource is part of Jason Turner's collection of C++ Best Practices resources. By the way, since I mentioned Jason, here's the link to his C++ Weakly channel.
-
NSA urges orgs to use memory-safe programming languages - C/C++ on the bench, as NSA puts its trust in Rust, C#, Go, Java, Ruby and Swift
This goes for C++ as well, there exist a host of off-by-default flags/features that make it a lot easier to make safe code in C++. Jason Turner's cpp best practices is a must read, using the sanitizers is another must, using facilities like g++'s _GLIBCXX_DEBUG and _GLIBCXX_DEBUG_PEDANTIC or MSVC's /GS /RTCs is a must.
-
IKOS: Static analyzer for C/C++ based on the theory of Abstract Interpretation
Could you detail what exact tooling you are talking about ?
Like, this static analyzer looks interesting but 5 years ago clang --analyze had no trouble producing me a nice html indicating the 27 steps across 6 functions that lead to a pointer being dereferenced after being deleted. Tooling is there but it seems that pretty much no one is aware of it - see e.g. this: https://github.com/cpp-best-practices/cppbestpractices/blob/... or this: https://github.com/fffaraz/awesome-cpp for a quick look at what exists.
- C++ Best Practices: A Forkable Coding Standards Document
-
First time coder - Coding integrals
Also, be sure to turn on the warnings from this page (under the compilers section).*
-
C++20 Modules — Complete Guide
Yep: https://github.com/cpp-best-practices/cppbestpractices/blob/master/02-Use_the_Tools_Available.md
ModernCppStarter
-
Collecting the best C++ practices
ModernCppStarter. Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
-
Is Using Project-Templates A Good Thing For Understanding CMake Better?
I really want to understand CMake in a deeper way. Recently, I have found many project templates like this one: https://github.com/TheLartians/ModernCppStarter. Is using theses templates a good idea to understand how to use CMake very well in a bigger project? Or what alternatives are there? Can anyone recommend good resources, which are the current best practice in these cases. Thank you in advance.
-
Recommendations for modern C++ project structures
https://github.com/TheLartians/ModernCppStarter if you need a template project structure
-
ConorWilliams/ConcurrentDeque
Nice. Sounds good. I'll see if I can make it work with https://github.com/TheLartians/ModernCppStarter if there's any issues I'll make you a PR.
-
Looking for a CMake Guru
Have a look here https://github.com/TheLartians/ModernCppStarter - this project uses author's own CPM cmake-based package manager which is easy to use (for projects written with cmake). It's a nice starting point.
-
Cmake Skeleton?
I think this one is pretty good: https://github.com/TheLartians/ModernCppStarter
What are some alternatives?
codechecker - CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy
cmake-init - The missing CMake project initializer
ikos - Static analyzer for C/C++ based on the theory of Abstract Interpretation.
gui_starter_template - A template CMake project to get you started with C++ and tooling
awesome-hpp - A curated list of awesome header-only C++ libraries
cmake-git-version-tracking - Embed Git metadata in a C/C++ compatible static library using CMake (e.g. commit ID, author, date, and message).
cpp20.py - Python script to compile C++20 code using modules.
cpp-project - Boiler plate template for C++ projects, with CMake, Doctest, Travis CI, Appveyor, Github Actions and coverage reports.
concurrencpp - Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all
cmake-examples - Useful CMake Examples
awesome-cpp - A curated list of awesome C++ (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.
cmake-sfml-project - Repository template for SFML projects using CMake