← Winnitude! Search  ·  Reader Mode (1792 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 167 LINKS

GitHub - SuboptimalEng/cpp-tutorials: ⚙️ The code for my C++ tutorials on YouTube.

Repository navigation

cpp-tutorials
Public

About

⚙️ The code for my C++ tutorials on YouTube.

Topics

clang cmake cpp cpp-tutorials

Resources

Readme MIT license Activity

Stars

24 stars

Watchers

0 watching

Forks

1 fork Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


258 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.vscode .vscode    
000-template 000-template    
001-gdb-lldb-debugging 001-gdb-lldb-debugging    
002-compiler-linker 002-compiler-linker    
003-std-cout-cin 003-std-cout-cin    
004-vscode-build-run 004-vscode-build-run    
005-sfml-homebrew-setup 005-sfml-homebrew-setup    
006-clang-save-temps 006-clang-save-temps    
007-webgpu-cross-platform-app 007-webgpu-cross-platform-app    
008-webgpu-wgsl 008-webgpu-wgsl    
009-int-main-no-return 009-int-main-no-return    
010-ub-for-uninitialized-var 010-ub-for-uninitialized-var    
011-lldb-init-settings 011-lldb-init-settings    
012-counting-bits 012-counting-bits    
013-header-files 013-header-files    
014-vscode-debug 014-vscode-debug    
015-ptr-vs-ref-for-output 015-ptr-vs-ref-for-output    
016-array-data-init 016-array-data-init    
017-reading-assembly 017-reading-assembly    
018-indirect-memory-addressing 018-indirect-memory-addressing    
019-stack-frames 019-stack-frames    
020-stack-frame-red-zone 020-stack-frame-red-zone    
021-lldb-debugging 021-lldb-debugging    
021-lldb-stepping-commands 021-lldb-stepping-commands    
022-program-counter 022-program-counter    
023-xorl-eax-eax 023-xorl-eax-eax    
024-lldb-p-x-commands 024-lldb-p-x-commands    
025-asserts 025-asserts    
026-size_t 026-size_t    
027-size_t-vec-size-minus-one 027-size_t-vec-size-minus-one    
028-att-vs-intel-syntax 028-att-vs-intel-syntax    
029-timestamp-data-type 029-timestamp-data-type    
030-civ-ii-gandhi 030-civ-ii-gandhi    
031-references 031-references    
032-pass-by-reference 032-pass-by-reference    
033-vector-of-bools 033-vector-of-bools    
034-pre-vs-post-increment 034-pre-vs-post-increment    
035-for-loop-pre-vs-post-incr 035-for-loop-pre-vs-post-incr    
036-threads-intro 036-threads-intro    
037-threads-join-or-detach 037-threads-join-or-detach    
038-threads-mutex 038-threads-mutex    
039-threads-mutex-data-race 039-threads-mutex-data-race    
040-threads-mutex-vs-atomic 040-threads-mutex-vs-atomic    
041-threads-mutex-lock-guard 041-threads-mutex-lock-guard    
042-threads-mutex-deadlock 042-threads-mutex-deadlock    
043-threads-mutex-scoped-lock 043-threads-mutex-scoped-lock    
044-threads-mutex-unique-lock 044-threads-mutex-unique-lock    
045-threads-mutex-producer-consumer 045-threads-mutex-producer-consumer    
046-constructors 046-constructors    
047-compiler-optimizations 047-compiler-optimizations    
048-wall-wextra-werror 048-wall-wextra-werror    
049-static-vs-dynamic-linking 049-static-vs-dynamic-linking    
050-compiler-linking 050-compiler-linking    
051-static-variables 051-static-variables    
052-static-var-dynamic-init 052-static-var-dynamic-init    
053-include-string-optional 053-include-string-optional    
054-dont-use-namespace 054-dont-use-namespace    
assembly-notes assembly-notes    
.clang-format .clang-format    
.gitignore .gitignore    
LICENSE LICENSE    
Makefile Makefile    
README.md README.md    
all-exercises.md all-exercises.md    

Repository files navigation

⚙️ C++ Tutorials

This repo contains the code for my C++ tutorials on YouTube.

These tutorials are not meant to be consumed in any specific order (even though each folder will be numbered). This ordering represents "the moment in time when I found that specific topic interesting". It does NOT represent "the order in which you should learn that topic".

Who is this for?

First and foremost, these C++ tutorials are meant for me. I found that I tend to forget topics that I've previously learned if I don't use them on a day-to-day basis. For example, there is a high probability that I'll forget many of the lldb commands (I explained in my video) in 2-3 months. These tutorials act as a reference for my future self in case I need a quick guide to help me get back up to speed.

Aside from me, the type of person who will find these tutorials most useful is someone who who has completed 2+ years of undergraduate study in computer science. You won't see me make a tutorial like "How to write a for-loop in C++" because I don't find that interesting. (Unless of course, there are some very obscure or interesting ways to do that in C++, which sounds fun to learn and explain.)

Why am I learning C++?

I started my career in TypeScript as a full-stack web developer. Got bored a few years ago and transitioned to working in computer graphics. C++ is the "lingua franca" of graphics programming.

Additionally, as an engineer, it's always good to be familiar with a statically typed, compiled langauge -- especially, if you've spent your entire career in the JavaScript (or Python) ecosystem. I'd definitely recommend learning a language like C++, Java, or Go.

I've also discussed my reasoning for why I'm switching from TypeScript to C++ for graphics programming in this YouTube video .

Why not Rust?

One of the most common questions I got when explaining my reasons for switching from TypeScript to C++ for graphics programming was -- "Why not Rust"?

I strongly believe C/C++ is the best language for graphics programming (and many other subfields of computer science that I find interesting). I do not believe this is going to change anytime in the next 5-7 years. I'm always happy to update my priors, but for the time being, this is my definitive stance on the matter.

Please give these a read if you want to learn more:

Misc.

References

About

⚙️ The code for my C++ tutorials on YouTube.

Topics

clang cmake cpp cpp-tutorials

Resources

Readme MIT license Activity

Stars

24 stars

Watchers

0 watching

Forks

1 fork Report repository

Releases

Packages

Contributors

Languages