>>106553078
I couldn't find an example using vk, initializing Vulkan with glfw will resemble this tho:
https://github.com/lonelydevil/vulkan-tutorial-C-implementation/blob/main/main.c
and apparently vk offers some abstractions compared to native C:
>E.g. where you would have to write the following in C++ (without VulkanHpp) to get all GPUs on a computer:
std::vector<VkPhysicalDevice> devices;
uint32_t count = 0;

// first get the number of available devices
VkResult res = vkEnumeratePhysicalDevices(instance, &count, nullptr);

// then get the devices
devices.resize(count);
res = vkEnumeratePhysicalDevices(instance, &count, devices.data());
You can just write the following with vk:
(let ((devices (vk:enumerate-physical-devices instance)))
;; do something with your devices
)