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…
CppCon (Youtube)
Memory-Mapped Devices as Objects - Dan Saks - CppCon 2020
Memory-Mapped Devices as Objects - Dan Saks - CppCon 2020
YouTube
Memory-Mapped Devices as Objects - Dan Saks - CppCon 2020
https://cppcon.org/
https://github.com/CppCon/CppCon2020
---
Most, if not all, modern CPUs communicate with external devices via memory-mapped device registers. A memory-mapped register is circuitry that connects to a CPU’s bus structure and responds to bus…
https://github.com/CppCon/CppCon2020
---
Most, if not all, modern CPUs communicate with external devices via memory-mapped device registers. A memory-mapped register is circuitry that connects to a CPU’s bus structure and responds to bus…
CppCon (Youtube)
C++20 Ranges in Practice - Tristan Brindle - CppCon 2020
C++20 Ranges in Practice - Tristan Brindle - CppCon 2020
YouTube
C++20 Ranges in Practice - Tristan Brindle - CppCon 2020
https://cppcon.org/
https://github.com/CppCon/CppCon2020
---
Among the many new additions to C++20 are Ranges, a modern revision of the STL offering updated algorithms and new “views” with lazy evaluation.
In this example-based talk we’ll work through several…
https://github.com/CppCon/CppCon2020
---
Among the many new additions to C++20 are Ranges, a modern revision of the STL offering updated algorithms and new “views” with lazy evaluation.
In this example-based talk we’ll work through several…
C++
Resource for learning c++ for an experienced python developer
Hello everyone! I am a master’s student studying Computational Modeling and Simulation. Whenever I start looking at Computer Vision job descriptions I come across C++ as a requirement, so I have decided to learn it. The problem is that I have some experience in Java and python so I need a resource which doesn’t focus more on the barebones (basic oop) and I am facing hard time finding one. This community has a lot of experienced developers, can you suggest a good resource to start with? submitted by /u/kaafilit
[link] [comments]
Resource for learning c++ for an experienced python developer
Hello everyone! I am a master’s student studying Computational Modeling and Simulation. Whenever I start looking at Computer Vision job descriptions I come across C++ as a requirement, so I have decided to learn it. The problem is that I have some experience in Java and python so I need a resource which doesn’t focus more on the barebones (basic oop) and I am facing hard time finding one. This community has a lot of experienced developers, can you suggest a good resource to start with? submitted by /u/kaafilit
[link] [comments]
reddit
Resource for learning c++ for an experienced python developer
Hello everyone! I am a master’s student studying Computational Modeling and Simulation. Whenever I start looking at Computer Vision job...
C++ – Типизированный язык программирования
Как скрестить Clion, Emscripten и Cmake
В этой статье я хотел бы пройтись и показать основные моменты того, как настроить IDE CLion для компиляции CMake проекта средствами Emscripten. Когда я занимался этим скрещиванием мне пришлось потратить день или два на эксперименты. И в этой заметке я собираюсь собрать некое "how to", которое в итоге сработало. Читать далее
Как скрестить Clion, Emscripten и Cmake
В этой статье я хотел бы пройтись и показать основные моменты того, как настроить IDE CLion для компиляции CMake проекта средствами Emscripten. Когда я занимался этим скрещиванием мне пришлось потратить день или два на эксперименты. И в этой заметке я собираюсь собрать некое "how to", которое в итоге сработало. Читать далее
Хабр
Как скрестить Clion, Emscripten и Cmake
В этой статье я хотел бы пройтись и показать основные моменты того, как настроить IDE CLion для компиляции CMake проекта средствами Emscripten. Когда я занимался этим скрещиванием мне пришлось...
C++
Question about "Internal Variable "Result""
Hey folks, Kinda stumped by what this question means, here is it: "Modify stub( ) so that it now takes all three variables as input (arguments) and returns true/false value associated with an internal variable "result" that is initialised as 0" I *think* it's asking me to declare a variable named "result" inside function "stub", declare as bool false, check it against values of args, if args = bool true, then "result" = bool true I'm only a couple weeks new to C++ so still getting to grips with the terminology, cheers folks ✌️ submitted by /u/Outragedbird
[link] ...
Read full post
Question about "Internal Variable "Result""
Hey folks, Kinda stumped by what this question means, here is it: "Modify stub( ) so that it now takes all three variables as input (arguments) and returns true/false value associated with an internal variable "result" that is initialised as 0" I *think* it's asking me to declare a variable named "result" inside function "stub", declare as bool false, check it against values of args, if args = bool true, then "result" = bool true I'm only a couple weeks new to C++ so still getting to grips with the terminology, cheers folks ✌️ submitted by /u/Outragedbird
[link] ...
Read full post
reddit
Question about "Internal Variable "Result""
Hey folks, Kinda stumped by what this question means, here is it: "Modify stub( ) so that it now takes all three variables as input (arguments)...
C++
"High res" mac trackpad input?
[x-post from QtFramework subreddit since I didn't get an answer there] Hi all, I'm working on a FPS game, currently using Qt 5.12.6, and I'm struggling to get smooth mouse (and therefore camera) movement. As an example, if I place one finger on the trackpad and 'roll' my fingertip around (not moving it, but moving my hand around it so different parts of my fingertip touch the trackpad), my mac mouse cursor moves slowly but fluidly the whole time. Meanwhile, my app only gets integer updates when the cursor has moved 'far enough' for the delta to be 1. This causes much jumpier camera movements than I believe should be possible with the trackpad, if I was getting whatever 'partial' delta must be behind the normal mac...
Read full post
"High res" mac trackpad input?
[x-post from QtFramework subreddit since I didn't get an answer there] Hi all, I'm working on a FPS game, currently using Qt 5.12.6, and I'm struggling to get smooth mouse (and therefore camera) movement. As an example, if I place one finger on the trackpad and 'roll' my fingertip around (not moving it, but moving my hand around it so different parts of my fingertip touch the trackpad), my mac mouse cursor moves slowly but fluidly the whole time. Meanwhile, my app only gets integer updates when the cursor has moved 'far enough' for the delta to be 1. This causes much jumpier camera movements than I believe should be possible with the trackpad, if I was getting whatever 'partial' delta must be behind the normal mac...
Read full post
reddit
"High res" mac trackpad input?
\[[x-post](https://www.reddit.com/r/QtFramework/comments/j1o5mn/high_res_mac_trackpad_input/) from QtFramework subreddit since I didn't get an...
The Pasture
The Community
Against all of my self-preservation instincts, I decided to do one last conference talk. Originally, I was set up to do 11 conferences, and every single Committee meeting – both C and C++ – this year. Of course, those plans have were railroaded by Sublime Mother Nature. Still, I mustered my strength over the last 32 days since I left Twitter to make one last video. Leaving Twitter was not the cause of this, it was actually the argument I got into after I left with my friends. Or… well, ex-friends now, probably. Even if they invite me back I don’t think there is a way I can mentally bring myself to go back there and participate…
But first, the conference.
The Conference
It’s called “
Read full post
The Community
Against all of my self-preservation instincts, I decided to do one last conference talk. Originally, I was set up to do 11 conferences, and every single Committee meeting – both C and C++ – this year. Of course, those plans have were railroaded by Sublime Mother Nature. Still, I mustered my strength over the last 32 days since I left Twitter to make one last video. Leaving Twitter was not the cause of this, it was actually the argument I got into after I left with my friends. Or… well, ex-friends now, probably. Even if they invite me back I don’t think there is a way I can mentally bring myself to go back there and participate…
But first, the conference.
The Conference
It’s called “
[[derpconf]] 2020”, but it’s just me, the Derp. Or well, the entire The Phantom Derpstorm (ThePhD, that’s where it comes from, not a degree in case you were...Read full post
C++
Tuplify, std::tie but cooler (I hope). Structured bindings to specific members using their names or their getters.
https://gist.github.com/Hamondorf/5e227ae6c204321842a4b0138630e76c Feedback and opinions welcome! Examples are given towards the bottom of the gist. submitted by /u/Hamondorf
[link] [comments]
Tuplify, std::tie but cooler (I hope). Structured bindings to specific members using their names or their getters.
https://gist.github.com/Hamondorf/5e227ae6c204321842a4b0138630e76c Feedback and opinions welcome! Examples are given towards the bottom of the gist. submitted by /u/Hamondorf
[link] [comments]
reddit
Tuplify, std::tie but cooler (I hope). Structured bindings to...
[https://gist.github.com/Hamondorf/5e227ae6c204321842a4b0138630e76c](https://gist.github.com/Hamondorf/5e227ae6c204321842a4b0138630e76c)...
C++
Did a mod really just post their own video and lock the thread so that no one could comment?
https://www.reddit.com/r/cpp/comments/j68ylq/the_c_community_thephd/ What is this? Disregarding the video completely, why would a mod think it is fine to post something, leave a "it's time to listen" post, then lock the thread? This is pretty gross. Creeping mod abuse is a way to ruin a good forum (which I think this is). If you think there is something worth saying, why wouldn't you want to interface with people? (Also please don't reply to this thread, this is a time to listen) submitted by /u/WrongAndBeligerent
...
Read full post
Did a mod really just post their own video and lock the thread so that no one could comment?
https://www.reddit.com/r/cpp/comments/j68ylq/the_c_community_thephd/ What is this? Disregarding the video completely, why would a mod think it is fine to post something, leave a "it's time to listen" post, then lock the thread? This is pretty gross. Creeping mod abuse is a way to ruin a good forum (which I think this is). If you think there is something worth saying, why wouldn't you want to interface with people? (Also please don't reply to this thread, this is a time to listen) submitted by /u/WrongAndBeligerent
...
Read full post
reddit
Did a mod really just post their own video and lock the thread so...
https://www.reddit.com/r/cpp/comments/j68ylq/the_c_community_thephd/ What is this? Disregarding the video completely, why would a mod think it...
C++
This is a time to listen, not to talk, blelbach
The original post is below. It was locked then deleted because it was critical of creating a post then locking out all comments. I don't think that the comments were beyond the ability to be handled by user moderation, yet that is the justification for locking it, deleting it, and posting a moderator comment that can't be challenged. That was also the justification for preemptively locking out all comments on the first post. This is a discussion forum. If you don't want discussion, don't post. No one else gets the option to kill discussions with a flimsy rationalization. Forums that let moderators use their moderation to stop criticism of their moderation devolve quickly. Original post: ...
Read full post
This is a time to listen, not to talk, blelbach
The original post is below. It was locked then deleted because it was critical of creating a post then locking out all comments. I don't think that the comments were beyond the ability to be handled by user moderation, yet that is the justification for locking it, deleting it, and posting a moderator comment that can't be challenged. That was also the justification for preemptively locking out all comments on the first post. This is a discussion forum. If you don't want discussion, don't post. No one else gets the option to kill discussions with a flimsy rationalization. Forums that let moderators use their moderation to stop criticism of their moderation devolve quickly. Original post: ...
Read full post
C++
Analyzing RSS memory leak for a C++ application
I am currently looking into what seems like a memory leak with a multithreaded C++ 11 application. The weird part about this is that when I use Valgrind Massif or Heaptrack I do not see a leak in the heap. The heap memory stays at about 15 MB but what I am noticing is that when I continue to use the application, I see that the RSS memory keeps increasing. I have also analyzed the number of threads to see if there is a thread leak, but the total number of threads does remain constant ( though the application does create and join threads a bunch of times) Could someone give me pointers on how I can go about exploring this leak. I have used pmap to list out the pages and I do see few blocks marked as [anon] that are contributing for the increased RSS. But I am not sure how to ...
Read full post
Analyzing RSS memory leak for a C++ application
I am currently looking into what seems like a memory leak with a multithreaded C++ 11 application. The weird part about this is that when I use Valgrind Massif or Heaptrack I do not see a leak in the heap. The heap memory stays at about 15 MB but what I am noticing is that when I continue to use the application, I see that the RSS memory keeps increasing. I have also analyzed the number of threads to see if there is a thread leak, but the total number of threads does remain constant ( though the application does create and join threads a bunch of times) Could someone give me pointers on how I can go about exploring this leak. I have used pmap to list out the pages and I do see few blocks marked as [anon] that are contributing for the increased RSS. But I am not sure how to ...
Read full post