Advertisement ยท 728 ร— 90

Posts by Suboptimal Engineer

Post image

9 months until AI replaces all software engineers.

2 days ago 0 0 1 0
Post image

How to step through code in LLDB using n, ni, s, and si.

C++ deep dive on my YouTube channel ๐Ÿซก

3 weeks ago 0 0 0 0
Post image

Did you know about the compiler optimization that PREVENTS moving the stack pointer for a leaf function?

I certainly didn't and was confused reading the generated x86 assembly.

C++ deep dive on my YouTube channel ๐Ÿซก

3 weeks ago 0 0 0 0
Post image

Ever wonder how C++ stack frames get created and destroyed? Or how %rbp and %rsp work?

I go over the details by stepping through some x86 assembly in LLDB.

C++ tutorial is on my YouTube channel ๐Ÿซก

4 weeks ago 0 0 0 0
Post image

10 months until AI replaces all software engineers.

1 month ago 1 0 0 0
Post image

C++ Tutorial Series Progress (17th video, part 1)

Need to lock in and finish cutting/editing this 23 minute video on "How to Read C++ Assembly Code".

1 month ago 0 0 0 0
Video

C++ WebGPU Shader Engine (part 19)

Here's a demo which stitches frames together using FFmpeg. Each image was auto captured during a hot reload.

Please excuse the 2 FPS, that is by design. The goal is to have a tool that can show the iterative process of shader development!

1 month ago 1 0 0 0
Advertisement
Video

C++ WebGPU Shader Engine (part 18)

Implemented a feature to capture images whenever I hot reload a WGSL shader!

The goal is to use FFmpeg to stitch these images into a video. This reduces the number of times I need to open screen capture to record.

2 months ago 0 0 0 0
Post image

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!

2 months ago 0 0 0 0
Video

C++ 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).

2 months ago 2 1 0 0
Video

C++ WebGPU Shader Game Engine (part 16)

Added the Sobel filter as a post processing effect.

2 months ago 2 1 0 0
Video

C++ WebGPU Shader Game Engine (part 15)

Swapping noise textures.

2 months ago 0 0 0 0
Video

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.

2 months ago 2 0 0 0
Video

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.

2 months ago 0 0 0 0
Advertisement
Video

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!

2 months ago 1 0 0 1
Video

C++ WebGPU Shader Game Engine (part 11)

I got so caught up in making the shader engine that I forgot to make shaders!

2 months ago 1 0 0 0
Video

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.

2 months ago 2 0 0 0
Video

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?

2 months ago 1 0 0 0
Video

C++ WebGPU Shader Game Engine (part 8)

Hot reloading WGSL shaders!

2 months ago 2 0 0 0
Video

C++ WebGPU Shader Game Engine (part 7)

When the code is all vibes, but the vibes are good.

2 months ago 0 0 0 0
Video

C++ WebGPU Shader Game Engine (part 6)

Implemented the Sobel filter node.

2 months ago 5 0 0 0
Video

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.

2 months ago 6 0 0 0
Video

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).

2 months ago 6 0 0 0
Video

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.

2 months ago 6 1 0 0
Advertisement
Video

C++ WebGPU Shader Engine Progress (part 2)

2 months ago 1 0 0 0

โ™Š๏ธ lowkenuinely ๐Ÿ

2 months ago 0 0 0 0
Video

C++ WebGPU Shader Engine Progress (part 1)

2 months ago 1 0 0 0
Video

This 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

3 months ago 1 0 0 0
Post image

Making progress on my C++ WebGPU shader editor.

3 months ago 1 0 0 0
Post image

Must resist the urge to use templates to clean up this (perfectly readable) C++ code.

3 months ago 1 0 0 0