News for hackers. Stuff that matters.
Re:Ask HN: Why did Apple deprecate OpenGL and OpenCL? by xt00 on Sunday August 09, 2020 @11:17PM (#24105130)
Apple seems to think along the lines like this: 1) people should create apps and games for our platform using our SDK / Xcode only, 2) we don’t support OpenGL in Xcode.. 3) the apps that are not made in our SDK are “not a good experience” or janky or something. 4) let’s just get rid of supporting things that were not made using our SDK because it means we can more readily support those apps and control how they behave

It does seem like while tons of people are happy to use iPads and iPhones, lots of people also have computers that they use for work or hobbies that are not easily boiled down into using somebody’s random app that. Many people have an iPad and iPhone and also and a Win10 PC. I think at least in the business and SW developer sector Apple is losing business with their “lock it down” strategy on their Mac’s.

Re:Ask HN: Why did Apple deprecate OpenGL and OpenCL? by jki275 on Sunday August 09, 2020 @09:33PM (#24104616)
Re:Ask HN: Why did Apple deprecate OpenGL and OpenCL? by wmf on Sunday August 09, 2020 @09:39PM (#24104650)
The real question is why Metal instead of Vulkan.
Re:Ask HN: Why did Apple deprecate OpenGL and OpenCL? by jeanvalmarc on Sunday August 09, 2020 @10:38PM (#24104929)
Vulkan for better or worse seems super targeted at AAA gamedevs, here's a probably unfair 1189 line example of how to show a triangle: https://github.com/SaschaWillems/Vulkan/blob/master/examples...
Re:Ask HN: Why did Apple deprecate OpenGL and OpenCL? by dyingkneepad on Monday August 10, 2020 @12:54PM (#24111335)
AAA gamedevs (and even C- gamedevs) generally use gaming engines (Unity, Unreal, etc). They don't write direct Vulkan or GL. Practically only the Engine people need to care about Vulkan's complexity.

Besides, while the boilerplate for Hello Triangle is indeed very big, it makes a lot of stuff easier to express on top of it. GL may have a much smaller Hello Triangle, but you have a lot less control over it, way too much stuff happens under the hood. And regardless, if all you want is to animate a web page with fish on an aquarium you really should be using GL instead of Vulkan.

Re:Ask HN: Why did Apple deprecate OpenGL and OpenCL? by yen223 on Sunday August 09, 2020 @11:33PM (#24105233)
Isn't it just because Metal came before Vulkan?
Re:Ask HN: Why did Apple deprecate OpenGL and OpenCL? by jki275 on Sunday August 09, 2020 @09:41PM (#24104661)
I suspect that Apple has highly optimized Metal to support their own new processors.
Re:Ask HN: Why did Apple deprecate OpenGL and OpenCL? by throwaway29303 on Sunday August 09, 2020 @10:08PM (#24104786)
I suspect it's about their moat. It's always about someone's moat.