u/Undeniable_Dilemma_

▲ 12 r/vulkan

Any Recommendations on C resources for Learning Vulkan?

I was following this tutorial, which is supposed to be "modern" with "up to date" features and practices.

However, I very quickly stumbled upon this piece of code:

auto unsupportedLayerIt = std::ranges::find_if(requiredLayers,
                                               [&layerProperties](auto const &requiredLayer) {
                                               return std::ranges::none_of(layerProperties,
                                                                           [requiredLayer](auto const &layerProperty) { return strcmp(layerProperty.layerName, requiredLayer) == 0; });
                                               });

I'm just stunned. I can't believe cpp people actually write code like this? This just seems insane to me and I kind of hate it.

So I have 2 questions:

  1. Am I in the wrong here? Should I just accept that this is normal and the industry standard and get over it? Or is it just absurd?
  2. If it IS absurd, does anyone have any recommendations for other resources I could learn Vulkan from? I'd prefer if it was just straight up in C or at least very basic features of C++?
reddit.com
u/Undeniable_Dilemma_ — 4 days ago

Any Recommendations on C resources for Learning Vulkan?

I was following this tutorial, which is supposed to be "modern" with "up to date" features and practices.

However, I very quickly stumbled upon this piece of code:

auto unsupportedLayerIt = std::ranges::find_if(requiredLayers,
                                               [&layerProperties](auto const &requiredLayer) {
                                               return std::ranges::none_of(layerProperties,
                                                                           [requiredLayer](auto const &layerProperty) { return strcmp(layerProperty.layerName, requiredLayer) == 0; });
                                               });

I'm just stunned. I can't believe cpp people actually write code like this? This just seems insane to me and I kind of hate it.

So I have 2 questions:

  1. Am I in the wrong here? Should I just accept that this is normal and the industry standard and get over it? Or is it just absurd?
  2. If it IS absurd, does anyone have any recommendations for other resources I could learn Vulkan from? I'd prefer if it was just straight up in C or at least very basic features of C++?
reddit.com
u/Undeniable_Dilemma_ — 4 days ago

Imali smo sve, nismo to cenili i sada nam je oduzeto... Sta mislite o ovim dizajnovima?

Meni licno nije dobro kad vidim ove dizajnove (u pozitivnom smislu). Toliko su nostalgicni/esteticni da ne mogu da verujem.

Jako bih voleo da odstampam neki stiker u ovom fazonu i da zalepim preko moje graficke.

Da li preferirate ovako nesto ili vam se dopada moderniji izgled sa minimalist estetikom koja vlada na trzistu?

u/Undeniable_Dilemma_ — 11 days ago