Sometimrs I really just want someone to show and comment on code in real time. Bravo!
@CuriousCyclist2 жыл бұрын
Thank you for taking the time to make this video. Much appreciated.
@NotesByNick2 жыл бұрын
Glad you enjoyed the vid! :^)
@markusbuchholz35185 жыл бұрын
Thanks Nick for again great video. You cover broad range of CS subjects. Perfect. Memory and CPU utilization are always the problem for RT applications. Great to have tools to approach system optimization. Thanks again for inspiration and your performance!
@brightontandabantu3 жыл бұрын
I like your video, you know! Hahaa I enjoyed those 'you knows' they kept me in the loop!
@thestarinthesky_ Жыл бұрын
Great video! Thank you!
@openroomxyz2 жыл бұрын
The example with lambda very is interesting thanks!
@fdjerourou305011 күн бұрын
Bravo pour la vidéo.;)
@deborahfranza29254 жыл бұрын
Thanks for the video, what is the mutex library you included? I've never seen it before.
@NotesByNick4 жыл бұрын
Under the hood it's just the pthread mutex on my machine - I'm just using std::mutex (available in C++11 and later standards) which makes this more portable (e.g., on windows it would use windows equivalent of a mutex instead of the pthread one). en.cppreference.com/w/cpp/thread/mutex
@santoshreddy85105 жыл бұрын
Hi! Do we have any tricks of such kind for vectors where we create the vector inside a function and return it to main function?
@NotesByNick5 жыл бұрын
In many circumstances you will get copy elision on the return (i.e., the vector is constructed at the return address, therefore there is no copying of the vector back from the function). Does this answer your question, or did you have something else in mind?
@8Trails502 жыл бұрын
Amazing
@HunterNX_s3 жыл бұрын
When my program crashes in debug mode, after a memory allocation, does that allocation continue and remain as a leak or does the IDE provide a way to automatically release it? If it continues as a leak, how could I get it released?
@RigelOrionBeta Жыл бұрын
Memory is allocated to an application by the operating system. If an application crashes, all memory held by that application is freed by the operating system. Now that is what should happen. But operating systems can have bad logic, and fail to free memory upon application crashes. And operating systems themselves can have memory leaks. Since there is nothing lower level that an OS when it comes to memory management, that causes crashes like blue screens.
@raz02292 жыл бұрын
Hey Nick, Thank you for another great video. It was very concise and really easy to follow, that said, you got a new follower on GitHub ;)
@anupkodlekere36334 жыл бұрын
Where can j find your dotfiles?
@NotesByNick4 жыл бұрын
What dotfiles are you referring to?
@anupkodlekere36334 жыл бұрын
@@NotesByNick preferably your .vimrc
@NotesByNick4 жыл бұрын
Anup Kodlekere you can find some links to my setup info on my GitHub site here! coffeebeforearch.github.io .
@amortalbeing4 жыл бұрын
You look like andre karpathy! a lot
@marianionita32827 ай бұрын
Great video, but the amount of "you know" and "right" is too high...