HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
SaschaWillems
Vulkan
GLSL2016–2025
SaschaWillems / Vulkan

Vulkan

C++ examples for the Vulkan graphics API

12Distinct people
13Mentions
0Explicit recommenders
12.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

C++ examples for the Vulkan graphics API

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year13 dated mentions

Observed mentions: 2016-02-16 14:40:34 UTC to 2025-10-10 15:36:24 UTC.

012342016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC413
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC211
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC202
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC202

What Hacker News says

13 sources
Sure, and as I said that's what I agree with the author on in this case. The hard part isn't the actual API calls, it's all the jargon and such around them as you say. In contrast, take something like say Vulkan. That's an API I'd consider to be quite complex. It has a vast number of function calls. You need to worry about ordering, using semaphores and fences to make sure things happen correctly. You need to understand the underlying hardware model. You need to compile shaders offline into a separate IR binary, which you then load at runtime. And so on... I mean, just check out the official "hello triangle" example[1]. And here[2] for a version which doesn't rely on additional helper functions. [1]: https://github.com/KhronosGroup/Vulkan-Samples/blob/main/sam... [2]: https://github.com/SaschaWillems/Vulkan/blob/master/examples...
In API Complexity Is a Lie
You can both build command buffers simultaneously (example by Sascha Willems: https://github.com/SaschaWillems/Vulkan/blob/master/examples...) and submit unrelated command buffers to different queues simultaneously. Using multiple queues is not difficult, just somewhat rare: there should never be so many command submissions that parallelization matters for quantitative performance reasons, it's a niche for unusually independent and/or asynchronous tasks.
In Multithreading for Game Engines
I'm not quite sure what Apple were expecting, when they have shown a clear contempt for OpenGL by leaving it at version 4.1 (while everyone else is up to 4.5, even Mesa). But to the people saying use Vulkan for the web API, that wouldn't be a good idea. Vulkan is a very verbose low level API. Here[1] is a sample for the most basic of renderers (renders a single triangle). That's 1,000 lines of (commented) code. It's not a good fit for web development. A far better solution would be to evolve the current WebGL API, than shoehorn Vulkan into somewhere it was never meant to be. [1] https://github.com/SaschaWillems/Vulkan/blob/master/triangle...
In Apple proposes new web 3D graphics API
Quick Vulkan starter pack (if you just want to see if it runs on your system, without compiling anything). Windows-centric, but many things also available for Linux and Android. ------- Drivers ------- Nvidia GPU driver: https://developer.nvidia.com/vulkan-driver (worth trying even if your GPU is not listed as supported, e.g. 900 series mobile Maxwell GPUs like GTX 970M or GTX 980M work ok) AMD GPU driver: http://support.amd.com/en-us/kb-articles/Pages/Radeon-Vulkan... ------- Demos ------- Nvidia Vulkan Choppers demo: https://nvidia.app.box.com/s/rj9nzxkpz21qu34h8zew301kray9urb... Nvidia Vulkan Fish demo (threaded rendering): http://developer.download.nvidia.com/mobile/shield/assets/Th... Vulkan examples binaries by Sascha Willems: http://vulkan.gpuinfo.org/examples.php - requires assets from source distribution (create "bin" subfolder a
Read the rest
nd place binaries there): https://github.com/SaschaWillems/Vulkan - also may need to install Visual Studio 2015 redistributables: https://www.microsoft.com/en-us/download/details.aspx?id=481... ------- Games ------- Talos Principle: http://store.steampowered.com/app/257510/ (there is a free demo available) See how to enable Vulkan support here: http://steamcommunity.com/app/257510/discussions/0/412447331... ------- Tools ------- Vulkan HW capabilities database: http://vulkan.gpuinfo.org/ Vulkan Hardware Capability Viewer: http://vulkan.gpuinfo.org/download.php
In Vulkan is Here

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.