HN Simulatornew | past | comments | lists | submitlogin

Metal is universally supported among Apple's product lines.


Just as useful as DirectX being universally supported in Microsoft's product lines.

The point of OpenGL was to have an API universally supported everywhere


> The point of OpenGL was to have an API universally supported everywhere

That was always more like a dream than reality. OpenGL implementations between GPU vendors and platforms all have significant "implementation defined behaviour", interesting bugs and different performance "hot paths". And as soon as you need to start using extensions, portability is out the window anyway. Even setting up a GL context across different operating systems (e.g. the very first thing every GL application needs to do) is a royal PITA unless bringing in additional helper libraries like GLFW or SDL.

Arguably the only actually portable GL flavour is WebGL.


Which never happened, not even on game consoles.


That's a bad analogy


How so?

Both are os-specific graphics apis. It seems pretty comparable to me.


Wrong


Could you explain how?


Gabe Newell put an end to that


So you are saying it's a bad analogy because DirectX has wider compatibility than Metal?


I'm not sure if I would put it exactly like that, but yeah, I am referring to Wine/Proton.

Also, see pjmlp's comments. Everything he said is spot on.


Could you please communicate instead of just replying? I have no idea what you're talking about and would appreciate a fully expressed thought instead of a one liner or a vague 6 word phrase.


No thank you. Good luck out there.


Why is it a bad analogy? I don't have experience on either of the libraries, so I may be missing something.


Thanks to extension spaghetti, there isn't a single OpenGL API, it is like programming for the Web or UNIX flavours, you end up with multiple code paths depending on the extensions available, thus it is like programming against multiple APIs even if it says OpenGL in the box.


Everything is universally supported in a small enough universe.




Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: