{"id":29558907,"url":"https://github.com/suboptimaleng/cpp-tutorials","last_synced_at":"2026-06-15T16:31:55.178Z","repository":{"id":301904188,"uuid":"1005277532","full_name":"SuboptimalEng/cpp-tutorials","owner":"SuboptimalEng","description":"⚙️ The code for my C++ tutorials on YouTube.","archived":false,"fork":false,"pushed_at":"2026-06-06T02:21:16.000Z","size":311,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-06T04:12:50.061Z","etag":null,"topics":["clang","cmake","cpp","cpp-tutorials"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SuboptimalEng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-20T01:21:07.000Z","updated_at":"2026-06-06T02:21:20.000Z","dependencies_parsed_at":"2025-06-29T14:36:06.357Z","dependency_job_id":"9e615a1a-62f1-42ac-a80c-816acd1a9bb1","html_url":"https://github.com/SuboptimalEng/cpp-tutorials","commit_stats":null,"previous_names":["suboptimaleng/cpp-tutorials"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SuboptimalEng/cpp-tutorials","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuboptimalEng%2Fcpp-tutorials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuboptimalEng%2Fcpp-tutorials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuboptimalEng%2Fcpp-tutorials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuboptimalEng%2Fcpp-tutorials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SuboptimalEng","download_url":"https://codeload.github.com/SuboptimalEng/cpp-tutorials/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuboptimalEng%2Fcpp-tutorials/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34372121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clang","cmake","cpp","cpp-tutorials"],"created_at":"2025-07-18T13:43:51.905Z","updated_at":"2026-06-15T16:31:55.170Z","avatar_url":"https://github.com/SuboptimalEng.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚙️ C++ Tutorials\n\nThis repo contains the code for my C++ tutorials on YouTube.\n\nThese tutorials are not meant to be consumed in any specific order (even\nthough each folder will be numbered). This ordering represents \"the moment\nin time when I found that specific topic interesting\". It does NOT represent\n\"the order in which you should learn that topic\".\n\n\u003c!-- This repo contains the code for my C++ tutorials on YouTube. Since C++ is a huge\nlanguage, I plan to use [LearnCPP.com](https://www.learncpp.com/) and Bjarne\nStoustrup's [4th edition exercises PDF](https://www.stroustrup.com/4thExercises.pdf)\nas a rough guide for my study plan (and videos). But, I don't plan to follow\nthem to the letter. I will likely deviate from them and go over any topic that I\nfind interesting.\n\nAs such, these C++ tutorials are not meant to be consumed in any specific order\n(even though each folder will be numbered). This ordering represents \"the moment\nin time when I found that specific topic interesting\". It does NOT represent\n\"the order in which you should learn that topic\". --\u003e\n\n\u003c!-- For example, the first folder, titled `01-gdb-lldb-debugging` is likely a\ntopic at the intermediate level, but I learned it first (and made a video)\nbecause I needed to step through some SFML code in my Shader Game Engine. The\nsecond folder titled `02-compiler-linker` is a beginner friendly topic, but I\ndove into it at a later point. In my ideal world, each video and/or folder is\nfully self-contained and has all the info needed to learn that specific topic.\nWe'll see how that goes. --\u003e\n\n## Who is this for?\n\nFirst and foremost, these C++ tutorials are meant for me. I found that I tend\nto forget topics that I've previously learned if I don't use them on a day-to-day\nbasis. For example, there is a high probability that I'll forget many of the `lldb`\ncommands (I explained in my video) in 2-3 months. These tutorials act as a reference\nfor my future self in case I need a quick guide to help me get back up to speed.\n\nAside from me, the type of person who will find these tutorials most useful is\nsomeone who who has completed 2+ years of undergraduate study in computer science.\nYou won't see me make a tutorial like \"How to write a for-loop in C++\" because\nI don't find that interesting. (Unless of course, there are some very obscure or\ninteresting ways to do that in C++, which sounds fun to learn and explain.)\n\n## Why am I learning C++?\n\nI started my career in TypeScript as a full-stack web developer. Got bored a few\nyears ago and transitioned to working in computer graphics. C++ is the \"lingua\nfranca\" of graphics programming.\n\nAdditionally, as an engineer, it's always good to be familiar with a statically\ntyped, compiled langauge -- especially, if you've spent your entire career in the\nJavaScript (or Python) ecosystem. I'd definitely recommend learning a language\nlike C++, Java, or Go.\n\nI've also discussed my reasoning for why I'm switching from TypeScript to C++\nfor graphics programming in this [YouTube video](https://www.youtube.com/watch?v=PbN_Arh8_ec).\n\n## Why not Rust?\n\nOne of the most common questions I got when explaining my reasons for switching\nfrom TypeScript to C++ for graphics programming was -- \"Why not Rust\"?\n\nI strongly believe C/C++ is the best language for graphics programming (and many\nother subfields of computer science that I find interesting). I do not believe\nthis is going to change anytime in the next 5-7 years. I'm always happy to update\nmy priors, but for the time being, this is my definitive stance on the matter.\n\n\u003c!-- The short answer, is that I don't like programming in Rust. Please give these a read if you want a better reason than that: --\u003e\n\nPlease give these a read if you want to learn more:\n\n- [Leaving Rust gamedev after 3 years](https://loglog.games/blog/leaving-rust-gamedev/)\n  - [Discussion on Reddit](https://www.reddit.com/r/rust/comments/1cdqdsi/lessons_learned_after_3_years_of_fulltime_rust/)\n  - [Discussion on HackerNews](https://news.ycombinator.com/item?id=40172033)\n- Rust job market\n  - Based on job boards, I noticed there are 10-20 C++ jobs per 1 Rust job (based on location)\n  - Nearly all Rust jobs require knowledge of C++, not true vice-versa\n  - [Is Rust a career dead-end? As opposed to C++?](https://www.reddit.com/r/rust/comments/1f5mt1f/is_rust_a_career_deadend_as_opposed_to_c_or_any/)\n  - [How junior friendly is the Rust job market?](https://www.reddit.com/r/rust/comments/1r7bov1/how_junior_friendly_really_rust_job_market_is/)\n\n\u003c!-- The long answer, is that I strongly believe C/C++ is the best language for\ngraphics programming (and many other subfields of computer science that I find\ninteresting). I do not believe this is going to change anytime in the next 5-7\nyears. I'm always happy to update my priors, but for the time being, this is my\ndefinitive stance on the matter. --\u003e\n\n## Misc.\n\n- [ThePrimeagen's reaction to a rant from Jonathon Blow](https://www.youtube.com/watch?v=znmZA_n485I) regarding web dev is funny and insightful\n- [Getting Starting in Computer Graphics](https://www.jeremyong.com/graphics/2024/05/19/getting-started-in-computer-graphics/) by Jeremey Ong\n\n## References\n\n- [LearnCpp.com](https://www.learncpp.com/) by Alex Pomeranz\n- [4th Edition Exercises](https://www.stroustrup.com/4thExercises.pdf) by Bjarne Stoustrup\n- [The C++ Programming Language, 4th Edition](https://www.stroustrup.com/4th.html) by Bjarne Stoustrup\n- ChatGPT and Gemini (if these count)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuboptimaleng%2Fcpp-tutorials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuboptimaleng%2Fcpp-tutorials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuboptimaleng%2Fcpp-tutorials/lists"}