eliemichel/LearnWebGPU

Learn to use WebGPU for native graphic applications in C++

C++

635

667 commits

updated Mar 12, 2026

See the code

See what people are saying

SourceMessageScoreDate

I maybe be a complete moron not familiar with Github, but I wanted to have a look at the code and it took me solid 5 minutes of going through the website searching for a link to the repository, and the only one I eventually found was when I scrolled to the bottom and clicked the Github icon.…

on Learn WebGPU for C++

0

Jul 23, 2026

Learn WebGPU for C++

112

Jul 23, 2026

There is mention of desktop applications in their getting-started docs; it seems well within the intention of the maintainers to me. https://eliemichel.github.io/LearnWebGPU/introduction.html > Yeah, why in the world would I use a web API to develop a desktop application? > Glad you asked, the…

on How I learned Vulkan and wrote a small game engine with it (2024)

0

Nov 22, 2025

I never mentioned the web as a target, rather devices. You don’t need a browser, you need a window or a surface to draw on and use C/C++/Rust/C# to write your code. WebGPU is a standard, not necessarily for the web alone. At no point does a browser ever enter the picture.…

on How I learned Vulkan and wrote a small game engine with it (2024)

0

Nov 22, 2025

Learn WebGPU for native graphics in C++

3

Apr 22, 2025

A WebGPU C++ Guide

2

Oct 10, 2024

There's plenty of room for both approaches: a lot of projects can benefit from using a platform-agnostic API like WebGPU (web or native) directly, others might want to use engines. Anecdotally I use WebGPU (through wgpu) in a commercial application for a visualization, and would've never bothered…

on Show HN: Free e-book about WebGPU Programming

0

Aug 5, 2024

Author of the WebGL volume rendering tutorial [0] you mentioned in the readme here, great work! Working in WebGL/JS is nice since you can deploy it everywhere, but it can be really hard for graphics programming as you've found because there are very few tools for doing real GPU/graphics debugging…

on Show HN: Volume rendering 3D data in Three.js and GLSL

0

Apr 21, 2024

WebGPU is not a browser API. It is a lower level API with official, supported implementations in C++ and Rust with zero browser dependencies. See for example: https://dawn.googlesource.com/dawn https://eliemichel.github.io/LearnWebGPU/ Yes it is exposed to Javascript applications by browsers that…

on Show HN: Shadeup – A language that makes WebGPU easier

0

Jan 18, 2024

https://eliemichel.github.io/LearnWebGPU/getting-started/hel... has a good getting started guide on it but, ironically, wgpu with wgpu-native might be easier to get started with, even with C/C++. https://github.com/gfx-rs/wgpu-native/releases/latest has ZIPs with Windows DLLs and headers.

on Capturing the WebGPU Ecosystem

0

Nov 11, 2023

README

Learn WebGPU

This is the source files of the website https://eliemichel.github.io/LearnWebGPU.

Building

Building the website requires Python.

  1. It is recommended, but not mandatory, to set up a virtual Python environment:
# Create the virtualenv in the "venv" directory (only the first time)
virtualenv venv
# Activate the virtualenv (each time you open a new terminal)
venv/Scripts/activate
  1. Then install Python packages
pip install -r requirements.txt
  1. And finally build the website by running:
make html
  1. To open the new website, run the following simple server:
cd _build/html
python -m http.server 8000

Then browse to http://localhost:8000. You should see the LearnWebGPU website there.

  1. To build the source code defined by Sphinx Literate (optional), run
make tangle

Contributing

To help this project, you can:

cpp
graphics
lecture-notes
webgpu

eliemichel/LearnWebGPU

Learn to use WebGPU for native graphic applications in C++

C++

635

667 commits

updated Mar 12, 2026

See the code

See what people are saying

SourceMessageScoreDate

I maybe be a complete moron not familiar with Github, but I wanted to have a look at the code and it took me solid 5 minutes of going through the website searching for a link to the repository, and the only one I eventually found was when I scrolled to the bottom and clicked the Github icon.…

on Learn WebGPU for C++

0

Jul 23, 2026

Learn WebGPU for C++

112

Jul 23, 2026

There is mention of desktop applications in their getting-started docs; it seems well within the intention of the maintainers to me. https://eliemichel.github.io/LearnWebGPU/introduction.html > Yeah, why in the world would I use a web API to develop a desktop application? > Glad you asked, the…

on How I learned Vulkan and wrote a small game engine with it (2024)

0

Nov 22, 2025

I never mentioned the web as a target, rather devices. You don’t need a browser, you need a window or a surface to draw on and use C/C++/Rust/C# to write your code. WebGPU is a standard, not necessarily for the web alone. At no point does a browser ever enter the picture.…

on How I learned Vulkan and wrote a small game engine with it (2024)

0

Nov 22, 2025

Learn WebGPU for native graphics in C++

3

Apr 22, 2025

A WebGPU C++ Guide

2

Oct 10, 2024

There's plenty of room for both approaches: a lot of projects can benefit from using a platform-agnostic API like WebGPU (web or native) directly, others might want to use engines. Anecdotally I use WebGPU (through wgpu) in a commercial application for a visualization, and would've never bothered…

on Show HN: Free e-book about WebGPU Programming

0

Aug 5, 2024

Author of the WebGL volume rendering tutorial [0] you mentioned in the readme here, great work! Working in WebGL/JS is nice since you can deploy it everywhere, but it can be really hard for graphics programming as you've found because there are very few tools for doing real GPU/graphics debugging…

on Show HN: Volume rendering 3D data in Three.js and GLSL

0

Apr 21, 2024

WebGPU is not a browser API. It is a lower level API with official, supported implementations in C++ and Rust with zero browser dependencies. See for example: https://dawn.googlesource.com/dawn https://eliemichel.github.io/LearnWebGPU/ Yes it is exposed to Javascript applications by browsers that…

on Show HN: Shadeup – A language that makes WebGPU easier

0

Jan 18, 2024

https://eliemichel.github.io/LearnWebGPU/getting-started/hel... has a good getting started guide on it but, ironically, wgpu with wgpu-native might be easier to get started with, even with C/C++. https://github.com/gfx-rs/wgpu-native/releases/latest has ZIPs with Windows DLLs and headers.

on Capturing the WebGPU Ecosystem

0

Nov 11, 2023

README

Learn WebGPU

This is the source files of the website https://eliemichel.github.io/LearnWebGPU.

Building

Building the website requires Python.

  1. It is recommended, but not mandatory, to set up a virtual Python environment:
# Create the virtualenv in the "venv" directory (only the first time)
virtualenv venv
# Activate the virtualenv (each time you open a new terminal)
venv/Scripts/activate
  1. Then install Python packages
pip install -r requirements.txt
  1. And finally build the website by running:
make html
  1. To open the new website, run the following simple server:
cd _build/html
python -m http.server 8000

Then browse to http://localhost:8000. You should see the LearnWebGPU website there.

  1. To build the source code defined by Sphinx Literate (optional), run
make tangle

Contributing

To help this project, you can:

cpp
graphics
lecture-notes
webgpu

Significant stargazers

柴树杉

4,959 followers · starred Apr 2024

Nick Renieris

338 followers · starred Jun 2025

Vittorio Romeo

1,102 followers · starred May 2025

Vladimír Vondruš

1,001 followers · starred May 2025