Richard – A CNN written in C++ and Vulkan (no ML or math libs)
This started out as a personal effort to learn more about machine learning. It's currently a CLI app where you give it a JSON file specifying your network architecture and hyperparameters and point it to your training data, then invoke it again in 'eval' mode with some data it's not seen before and it will try to classify each sample. I don't see many other people using Vulkan for GPGPU, and there may be many good reasons for that, but I wanted to try something a bit different. I've made every attempt to make the code very clean and readable and I've written up the math in…
Richard – A CNN written in C++ and Vulkan (no ML or math libs) launched on March 15, 2024 with 184 votes, #267 of 4,270 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 2 years on.
In plain words
Richard is a convolutional neural network implementation written in C++ and Vulkan without relying on external machine learning or math libraries. It functions as a command-line tool that accepts JSON configuration files specifying network architecture and hyperparameters, trains on provided data, and classifies unseen samples in evaluation mode. The project uses Vulkan for GPU computation and includes detailed mathematical documentation. It serves as a learning resource for understanding neural network mechanics and demonstrates an unconventional approach to GPGPU programming.
written from the facts on this page · September 2026
From the sources
Richard is gaining power. Contribute to robjinman/richard development by creating an account on GitHub.
In the maker’s words, at launch
This started out as a personal effort to learn more about machine learning. It's currently a CLI app where you give it a JSON file specifying your network architecture and hyperparameters and point it to your training data, then invoke it again in 'eval' mode with some data it's not seen before and it will try to…
Does a similar job
all alternatives →
HipScript – Run CUDA in the browser with WebAssembly and WebGPU2025 · hipscript.lights0123.com · ▲309CUDA is NVIDIA's language for GPU programming, allowing you to mix write CPU and GPU code in C++ in one file. By chaining a few projects that compile CUDA to OpenCL, then Vulkan, then WebGPU, you can experiment with this GPGPU language on any hardware.
I built a tensor library from scratch in C++/CUDA2025 · github.com · ▲119Hi HN, Over the past few months, I've been building `dsc`, a tensor library from scratch in C++/CUDA. My main focus has been on getting the basics right, prioritizing a clean API, simplicity, and clear observability for running small LLMs locally. The key features are: - C++ core with CUDA support written from scratch. - A familiar, PyTorch-like Python API. - Runs real models: it's complete enough to load a model like Qwen from HuggingFace and run inference on both CUDA and CPU with a single line change[1]. - Simple, built-in observability for both Python and C++. Next on the roadmap is…
A Minimal Code Example of Using Vulkan for Computations on the GPU2017 · github.com · ▲68Minimal Example of Using Vulkan for Compute Operations. Only ~400LOC. - Erkaman/vulkan_minimal_compute
- POPlaidML, open source deep learning for any GPU2017 · ▲52
Our company Vertex.AI has been working on this for a while but this is the first public release. We're starting with using PlaidML to bring OpenCL support to Keras and more frameworks, platforms, etc are coming. Yes, this means you can use use your AMD GPU for deep learning dev. Sorry, no Mac or Windows support yet although the brave can try building from source (it should work). http://vertex.ai/blog/announcing-plaidml https://github.com/plaidml/plaidml
Dockerized GPU Deep Learning Solution (Code and Blog and TensorFlow Demo)2016 · github.com · ▲80An on-premises, bare-metal solution for deploying GPU-powered applications in containers - emergingstack/es-dev-stack
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 19d ago · stillwet.art

PixVerse R2▲381A real-time world model you can explore and change
AI · 28d ago · world.pixverse.video
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, March 2024
the whole month →

🌐 The Internet Computer! Free, Open-Source, and Self-Hostable. - HeyPuter/puter
Dev tools · 2024 · github.com
Microlaunch▲1,115Launch and get feedback on both the idea and product
Dev tools · 2024 · microlaunch.net


