C++
Tool for "Go to definition"
Hello, as you know many IDE's/Editors feature a "Go to definition" command that finds the definition of whatever the cursor is currently on. If you have a large and complex program, these tools will/can only work if they know the build process. What tool can you recommend my for "Go to definition". I need one that not only works in most cases, but in all cases(so it needs to know the build process). The build process is a fork of gnu make, but I have a json compilation database that I generated using bear. I basically need the rust language server, but for c++ instead of rust. submitted by /u/Volker_Weissmann
...
Read full post
Tool for "Go to definition"
Hello, as you know many IDE's/Editors feature a "Go to definition" command that finds the definition of whatever the cursor is currently on. If you have a large and complex program, these tools will/can only work if they know the build process. What tool can you recommend my for "Go to definition". I need one that not only works in most cases, but in all cases(so it needs to know the build process). The build process is a fork of gnu make, but I have a json compilation database that I generated using bear. I basically need the rust language server, but for c++ instead of rust. submitted by /u/Volker_Weissmann
...
Read full post
reddit
Tool for "Go to definition"
Hello, as you know many IDE's/Editors feature a "Go to definition" command that finds the definition of whatever the cursor is currently on. If...
C++
C++ Primer (5th Edition) Vs Programming: Principles and Practice Using C++ (2nd Edition) - recommend?
I'm doing some self-teaching and I was recommended these two books. Does anyone have any experience with either? submitted by /u/OpheliaSHolmes
[link] [comments]
C++ Primer (5th Edition) Vs Programming: Principles and Practice Using C++ (2nd Edition) - recommend?
I'm doing some self-teaching and I was recommended these two books. Does anyone have any experience with either? submitted by /u/OpheliaSHolmes
[link] [comments]
reddit
C++ Primer (5th Edition) Vs Programming: Principles and Practice...
I'm doing some self-teaching and I was recommended these two books. Does anyone have any experience with either?
vector{ true, true, false };
A New Approach to Build-Time Library Configuration
Pain
If you’ve been around the block of C and C++ libraries for more than a brief
glance, you have inevitably seen a
script with a few dozen command-line flags? Or maybe you’ve been told to pop
open
in a build script three layers deep just to enable/disable some workaround in
some library thats being pulled in as a dependency of a dependency of a
dependency?
Don’t worry. I hear you cry. I too have wrestled with such pains.
What’s the Big Idea?
Why do libraries offer these build-time switches? What do they accomplish?
In the majority of situations, I believe that offering compile-time tweaks are
an antipattern...
Read full post
A New Approach to Build-Time Library Configuration
Pain
If you’ve been around the block of C and C++ libraries for more than a brief
glance, you have inevitably seen a
tweakme.h or two. Maybe a configurescript with a few dozen command-line flags? Or maybe you’ve been told to pop
open
ccmake and flip some switches? Have you ever juggled command-line flagsin a build script three layers deep just to enable/disable some workaround in
some library thats being pulled in as a dependency of a dependency of a
dependency?
Don’t worry. I hear you cry. I too have wrestled with such pains.
What’s the Big Idea?
Why do libraries offer these build-time switches? What do they accomplish?
In the majority of situations, I believe that offering compile-time tweaks are
an antipattern...
Read full post
vector-of-bool.github.io
A New Approach to Build-Time Library Configuration
In which I present a novel, portable, and nonintrustive approach to build-time configuration
Bartek's coding blog
How To Stay Sane with Modern C++
C++ grows very fast! For example, the number of pages of the C++ standard went from 879 pages for C++98/03 to 1834 for C++20! Nearly 1000 pages! What’s more, with each revision of C++, we get several dozens of new features. Have a look at my blog post with all C++17 features, it shows 48 items, and my C++20 reference card lists 47 elements! Do you need to learn all of that stuff to write good code? How to stay sane in the C++ world today? Read more...
How To Stay Sane with Modern C++
C++ grows very fast! For example, the number of pages of the C++ standard went from 879 pages for C++98/03 to 1834 for C++20! Nearly 1000 pages! What’s more, with each revision of C++, we get several dozens of new features. Have a look at my blog post with all C++17 features, it shows 48 items, and my C++20 reference card lists 47 elements! Do you need to learn all of that stuff to write good code? How to stay sane in the C++ world today? Read more...
Modernes C++ - ModernesCpp.com
std::format in C++20
Today, I'm happy to present Peter Gottschling's guest post to the new formatting library in C++20:
std::format in C++20
Today, I'm happy to present Peter Gottschling's guest post to the new formatting library in C++20:
std::format. Thanks to std::format, text formatting becomes in C++20 as easy as in Python.C++
What's the status of Ecosystem Technical Report?
subj. Last year there was a proposition to make it ( https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1688r0.html ). Can't find anything about it now. What's the status? Are there any public drafts? submitted by /u/RedwanFox
[link] [comments]
What's the status of Ecosystem Technical Report?
subj. Last year there was a proposition to make it ( https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1688r0.html ). Can't find anything about it now. What's the status? Are there any public drafts? submitted by /u/RedwanFox
[link] [comments]
reddit
What's the status of Ecosystem Technical Report?
subj. Last year there was a proposition to make it ( https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1688r0.html ). Can't find anything...
CppCon (Youtube)OO Considered Harmful - Phil Nash - CppCon 2020
YouTube
OO Considered Harmful - Phil Nash - CppCon 2020
https://cppcon.org/
https://github.com/CppCon/CppCon2020
---
Is C++ on OO language? What does it mean to be an OO language anyway? What were the original goals, and how have they turned out?
What other approaches are there? Some say there was nothing wrong…
https://github.com/CppCon/CppCon2020
---
Is C++ on OO language? What does it mean to be an OO language anyway? What were the original goals, and how have they turned out?
What other approaches are there? Some say there was nothing wrong…
C++ – Типизированный язык программирования
В нативный код из уютного мира Java: приключение туда и обратно (часть 1)
Java и другие управляемые языки просты и удобны во многих случаях, но иногда их возможностей недостаточно — например, если нужна библиотека, написанная только на C или C++. Иногда хочется позвать пару методов из системного API, или попытаться улучшить производительность для модуля — и тогда прямой путь в нативный код.
Но тут возникают подводные камни: написать нативный метод и вызвать библиотеку может быть и легко, но JVM начинает крашиться в случайных местах, производительность падает, сборщик мусора перестает справляться с работой, а в репозитории царствуют бесконечные C-шные файлы с буквами JNI. Что же могло пойти не так?
Иван Углянский (...
Read full post
В нативный код из уютного мира Java: приключение туда и обратно (часть 1)
Java и другие управляемые языки просты и удобны во многих случаях, но иногда их возможностей недостаточно — например, если нужна библиотека, написанная только на C или C++. Иногда хочется позвать пару методов из системного API, или попытаться улучшить производительность для модуля — и тогда прямой путь в нативный код.
Но тут возникают подводные камни: написать нативный метод и вызвать библиотеку может быть и легко, но JVM начинает крашиться в случайных местах, производительность падает, сборщик мусора перестает справляться с работой, а в репозитории царствуют бесконечные C-шные файлы с буквами JNI. Что же могло пойти не так?
Иван Углянский (...
Read full post
C++ User Group (Youtube)
Алексей Ткаченко — Имитация регистровых интерфейсов в embedded с помощью исключений
Алексей Ткаченко — Имитация регистровых интерфейсов в embedded с помощью исключений
YouTube
Алексей Ткаченко — Имитация регистровых интерфейсов в embedded с помощью исключений
Подробнее о конференции C++ Russia: https://jrg.su/9Sszhd
— —
. . . Концепция памяти в компьютере давно выходит далеко за рамки концепции набора микросхем динамической памяти, установленной в компьютере. Память давно воспринимается как некоторое адресуемое…
— —
. . . Концепция памяти в компьютере давно выходит далеко за рамки концепции набора микросхем динамической памяти, установленной в компьютере. Память давно воспринимается как некоторое адресуемое…
Jason Turner (Youtube)
C++ Weekly - Ep 240 - Start Using [[nodiscard]]!
C++ Weekly - Ep 240 - Start Using [[nodiscard]]!
YouTube
C++ Weekly - Ep 240 - Start Using [[nodiscard]]!
☟☟ Awesome T-Shirts! Sponsors! Books! ☟☟
Note: I'm learning some new software and had issues getting this episode out. The color is different simply because I got it wrong :D
T-SHIRTS AVAILABLE!
► The best C++ T-Shirts anywhere! https://my-store-d16a2f.creator…
Note: I'm learning some new software and had issues getting this episode out. The color is different simply because I got it wrong :D
T-SHIRTS AVAILABLE!
► The best C++ T-Shirts anywhere! https://my-store-d16a2f.creator…
CppCon (Youtube)
Lakos’20: The “Dam” Book is Done! - John Lakos - CppCon 2020
Lakos’20: The “Dam” Book is Done! - John Lakos - CppCon 2020
YouTube
Lakos’20: The “Dam” Book is Done! - John Lakos - CppCon 2020
https://cppcon.org/
https://github.com/CppCon/CppCon2020
---
Writing reliable and maintainable C++ software is hard. Designing such software at scale adds a new set of challenges. Large-scale systems require more than just a thorough understanding of the…
https://github.com/CppCon/CppCon2020
---
Writing reliable and maintainable C++ software is hard. Designing such software at scale adds a new set of challenges. Large-scale systems require more than just a thorough understanding of the…
CppCon (Youtube)
C++ Committee's Library Evolution Working Group - Hosted By Bryce Adelstein Lelbach - CppCon 2020
C++ Committee's Library Evolution Working Group - Hosted By Bryce Adelstein Lelbach - CppCon 2020
YouTube
C++ Committee's Library Evolution Working Group - Hosted By Bryce Adelstein Lelbach - CppCon 2020
https://cppcon.org/
https://github.com/CppCon/CppCon2020
---
Come join the leaders of the C++ Committee's Library Evolution Working Group to discuss the latest developments in and future of the C++ Standard Library.
---
Hosted By Bryce Adelstein Lelbach…
https://github.com/CppCon/CppCon2020
---
Come join the leaders of the C++ Committee's Library Evolution Working Group to discuss the latest developments in and future of the C++ Standard Library.
---
Hosted By Bryce Adelstein Lelbach…
Abseil Blog & Tips
Abseil Platform Support Update
Abseil Platform Support Update
By Derek Mauro, Abseil Engineer
In September 2017, Abseil made the following support
promise:
We will support our code for at least 5 years. We will support language
versions, compilers, platforms, and workarounds as needed for 5 years after
their replacement is available, when possible. If it is technically infeasible
(such as support for MSVC before 2015, which has limited C++11 functionality),
those will be noted specifically. After 5 years we will stop support and may
remove workarounds.
language feature works on everything except Xcode prior to Xcode 8 ; once
Xcode 8 is out for 5 years, we will drop that workaround s...
Read full post
Abseil Platform Support Update
Abseil Platform Support Update
By Derek Mauro, Abseil Engineer
In September 2017, Abseil made the following support
promise:
We will support our code for at least 5 years. We will support language
versions, compilers, platforms, and workarounds as needed for 5 years after
their replacement is available, when possible. If it is technically infeasible
(such as support for MSVC before 2015, which has limited C++11 functionality),
those will be noted specifically. After 5 years we will stop support and may
remove workarounds.
ABSL_HAVE_THREAD_LOCAL is a good example: the baselanguage feature works on everything except Xcode prior to Xcode 8 ; once
Xcode 8 is out for 5 years, we will drop that workaround s...
Read full post
abseil.io
abseil / Abseil Platform Support Update
An open-source collection of core C++ library code
C++
An index for C++ conferences
https://cpptalksindex.xyz Hi everyone! It started as a toy project, but I think it might help others, especially C++ learners. The goal is for it to be an index of conference talks with a community-managed (on Github) list of tags for each conference that can be searched for. There is one, namely, that I would like to be assigned to introductory talks that could be a great introduction to a particular subject, however difficult it is (one I watched recently was Jody Hagin's talk on metaprogramming). I am watching videos here and there and adding them as I go. The website is far from finished yet, namely: It needs a bit of design, more than the 10 lines of CS...
Read full post
An index for C++ conferences
https://cpptalksindex.xyz Hi everyone! It started as a toy project, but I think it might help others, especially C++ learners. The goal is for it to be an index of conference talks with a community-managed (on Github) list of tags for each conference that can be searched for. There is one, namely, that I would like to be assigned to introductory talks that could be a great introduction to a particular subject, however difficult it is (one I watched recently was Jody Hagin's talk on metaprogramming). I am watching videos here and there and adding them as I go. The website is far from finished yet, namely: It needs a bit of design, more than the 10 lines of CS...
Read full post
reddit
An index for C++ conferences
[https://cpptalksindex.xyz](https://cpptalksindex.xyz) Hi everyone! It started as a toy project, but I think it might help others, especially...
C++
SugarPP: My C++ syntactic sugar collection
https://github.com/HO-COOH/SugarPP I made the project "SugarPP" as my self-made C++ syntactic sugar collection. As a side project, it aims to port some nice features from other languages to C++ (as intuitive as it can possibly get). And I have great fun doing it XD. Currently, the undocumented code is the part I am still working on but somehow get committed. I am humbly looking for advices/new ideas/suggestions/bug reviews/contributions. As I only have a little more than 1 year of C++ experience, the code may be extremely buggy. Please be specific about any issues that I have. submitted by /u/HO-COOH
...
Read full post
SugarPP: My C++ syntactic sugar collection
https://github.com/HO-COOH/SugarPP I made the project "SugarPP" as my self-made C++ syntactic sugar collection. As a side project, it aims to port some nice features from other languages to C++ (as intuitive as it can possibly get). And I have great fun doing it XD. Currently, the undocumented code is the part I am still working on but somehow get committed. I am humbly looking for advices/new ideas/suggestions/bug reviews/contributions. As I only have a little more than 1 year of C++ experience, the code may be extremely buggy. Please be specific about any issues that I have. submitted by /u/HO-COOH
...
Read full post
reddit
SugarPP: My C++ syntactic sugar collection
[https://github.com/HO-COOH/SugarPP](https://github.com/HO-COOH/SugarPP) I made the project "SugarPP" as my self-made C++ syntactic sugar...
CppCon (Youtube)
Back to Basics: Exceptions - Klaus Iglberger - CppCon 2020
Back to Basics: Exceptions - Klaus Iglberger - CppCon 2020
YouTube
Back to Basics: Exceptions - Klaus Iglberger - CppCon 2020
https://cppcon.org/
https://github.com/CppCon/CppCon2020/blob/main/Presentations/back_to_basics_exceptions/back_to_basics_exceptions__klaus_iglberger__cppcon_2020.pdf
---
Exceptions are the native error propagation mechanism in C++. If used properly, exceptions…
https://github.com/CppCon/CppCon2020/blob/main/Presentations/back_to_basics_exceptions/back_to_basics_exceptions__klaus_iglberger__cppcon_2020.pdf
---
Exceptions are the native error propagation mechanism in C++. If used properly, exceptions…