Made a 12 minute tutorial going over how to set up and use the C++ debugger in VS Code. Video is live on my YouTube channel!
16.02.2026 19:35 β π 0 π 0 π¬ 0 π 0@suboptimaleng.bsky.social
π¨πΎβπ» Indian-American Software Engineer πΎ Computer Graphics YouTuber (25k+) β€οΈ Shaders, Anime, Gaming, Running
Made a 12 minute tutorial going over how to set up and use the C++ debugger in VS Code. Video is live on my YouTube channel!
16.02.2026 19:35 β π 0 π 0 π¬ 0 π 0C++ WebGPU Shader Game Engine (part 17)
Spent the last 2 days cleaning up tech debt created from mindlessly copy pasting AI generated code.
The project is finally at a good pausing point! Here's one final demo (for now).
C++ WebGPU Shader Game Engine (part 16)
Added the Sobel filter as a post processing effect.
C++ WebGPU Shader Game Engine (part 15)
Swapping noise textures.
C++ WebGPU Shader Game Engine (part 14)
Finally working on an option to import noise textures.
Code is complete AI slop. Need to fix it at some point.
C++ WebGPU Shader Game Engine (part 13)
Couldn't stop myself from adding more features.
Using the node editor seemed a bit excessive so I implemented a simpler way to add and customize post processing effects.
C++ WebGPU Shader Game Engine (part 12)
Terrain generation! My computer can't handle it.
I should add a feature to import noise textures to avoid computing noise on the fly. But that's for another day.
Going to pause work on this project and finally start the C++ deep dive!
C++ WebGPU Shader Game Engine (part 11)
I got so caught up in making the shader engine that I forgot to make shaders!
C++ WebGPU Shader Game Engine (part 10)
Going to pause working on this project to learn more about C++. I got nerd-sniped by the language.
Here's a short video that logs the progress we (me and AI) made over the last few weeks.
C++ WebGPU Shader Game Engine (part 9)
Minecraft terrain in a WGSL shader.
Starting to dislike using the node editor for post processing effects. Too much mouse input required for small changes. Iterating with code is much faster.
Time for another refactor?
C++ WebGPU Shader Game Engine (part 8)
Hot reloading WGSL shaders!
C++ WebGPU Shader Game Engine (part 7)
When the code is all vibes, but the vibes are good.
C++ WebGPU Shader Game Engine (part 6)
Implemented the Sobel filter node.
C++ WebGPU Shader Game Engine (part 5)
Simplified the Ray Marching node architecture and added a Blit (block image transfer) node.
TL;DR Blit is Ctrl + C, Ctrl + V for GPU textures.
C++ WebGPU Shader Game Engine (part 4)
Refactoring the animation and UI to allow users to toggle between color, normal, and depth textures in the ray march node itself.
Still quite hacky since I'm prioritizing progress over maintainability (for the time being).
C++ WebGPU Shader Game Engine (part 3)
Got animations working, but the code is hacky. Shader state, ImGui UI, and WebGPU resources are all mixed together. Need to do a full refactor.
C++ WebGPU Shader Engine Progress (part 2)
23.01.2026 03:04 β π 1 π 0 π¬ 0 π 0βοΈ lowkenuinely π
22.01.2026 07:25 β π 0 π 0 π¬ 0 π 0C++ WebGPU Shader Engine Progress (part 1)
22.01.2026 03:32 β π 1 π 0 π¬ 0 π 0This is the last time I restart writing my shader animation engine from scratch.
The previous two attempts taught me important lessons about (not using) web tech and writing maintainable code.
v1 - TypeScript and WebGL
v2 - C++ with SFML
v3 - C++ with WebGPU and ImNodes
Making progress on my C++ WebGPU shader editor.
18.01.2026 23:25 β π 1 π 0 π¬ 0 π 0Must resist the urge to use templates to clean up this (perfectly readable) C++ code.
17.01.2026 23:43 β π 1 π 0 π¬ 0 π 0Here's the latest update on my C++ WebGPU node editor. It now draws textures in each ImGui node.
Have to pause work on this project soon because I'm moving across the country from NYC to PNW and I haven't started packing yet!
Making some progress on this node editor. I made the graph data structure with nodes, edges, and ports (with help from ChatGPT of course).
In a surprise twist, solving 75+ LeetCode problems in C++ came in handy. I implemented the topological sort algorithm from scratch!
After 5 hours of fighting CMake compiler errors, I finally got WebGPU working with ImGui and ImNodes!
I present to you the magenta Christmas tree.
Happy holidays everyone π
AI Thought Experiment
50% less white collar jobs -> 50% less productivity SaaS apps needed (slack, gmail, notion, jira, msft word...)
Once company downsizes -> businesses that depend on said companies "growing in size" also lose.
AI doesn't need Slack, Jira, etc.
What now?
Got nerd-sniped into learning more about header files this afternoon so I had to speed run this after dinner.
Ran into a segfault, stepped through code in LLDB, found + fixed the bug, and finally got a triangle up and running in C++ and WebGPU!
Setting up a new WebGPU project in C++ and realized that the API has changed since last time.
It's taking longer than I expected, but maybe I can render a triangle tomorrow.
I also ran 5 miles in 30 degree weather which was fun.
Time to take a break and play video games!
Today, I reset my LeetCode progress, and solved 50 problems in C++ in 4.5 hours.
No CPP reference, no ChatGPT, no Google, no NeetCode, no nothing.
Gonna call it the "Suboptimal 50 Speedrun Challenge".
Complete 50 problems from NeetCode 150 without any hints/help.
C++ Learning Journey Part 8
Finally completed the classic "Blind 75" problem set on LeetCode.
I don't need to constantly check the C++ reference website which is nice. Can I start calling myself an advanced-beginner now?