KhronosGroup / KhronosGroup/Vulkan-Hpp

Explore generation with C++26 reflection

Open
#2,527 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.8k
Forks
374
Avg merge
23h 4m
Merged PRs (30d)
32

Description

This is a slightly more frivolous issue, and I hope to kickstart some discussion.

How would we write/rewrite the generator with C++26 reflection? Could we model _everything_ that we currently generate? The current generator works entirely in the XML type/string domain (especially when it comes to the various snippets) with not much typed knowledge about the Vulkan specification besides the structs generated on-the-fly.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by examining the current generator's XML type/string representation, generated snippets, Vulkan specification knowledge, and on-the-fly structs; done would be a concrete assessment or design for which generation responsibilities C++26 reflection could model.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.