logoalt Hacker News

flohofwoeyesterday at 2:37 PM2 repliesview on HN

For a text editor it's definitely good enough if not extreme overkill.

Other then that the one big downside of WebGPU is the rigid binding model via baked BindGroup objects. This is both inflexible and slow when any sort of 'dynamism' is needed because you end up creating and destroying BindGroup objects in the hot path.

Vulkan's binding model will really only be fixed properly with the very new VK_EXT_descriptor_heap extension (https://docs.vulkan.org/features/latest/features/proposals/V...).


Replies

conorberginyesterday at 7:50 PM

Do you think Vulkan will become "nice" to use, could it ever be as ergonomic as Metal is supposed to be?

xyzsparetimexyzyesterday at 6:55 PM

The modern Vulkan binding model is relatively fine. Your entire program has a single descriptor set containing an array of images that you reference by index. Buffers are never bound and instead referenced by device address.