News for hackers. Stuff that matters.
Re:Fuchsia OS Introduction by monocasa on Tuesday March 26, 2019 @11:17AM (#19492620)
The extensions were always going to be in Vulkan. They embraced them even more than OpenGL, because you're not going to get around it. Hardware is just plain different from other hardware and PMs want a "value add". What Vulkan does differently is that you have to explicitly enable extensions, so you can't unknowingly be relying on an extension when trying to write cross platform code.

This is all a good thing.

Re:Fuchsia OS Introduction by pjmlp on Tuesday March 26, 2019 @12:30PM (#19493325)
Yep, polluting the code with multiple execution paths is a good thing.
Re:Fuchsia OS Introduction by camgunz on Tuesday March 26, 2019 @05:25PM (#19496170)
You're... not required to use the extensions right? How else are you supposed to provide the _option_ to use _optional_ features? Feels like there's gonna be a branch in there somewhere. Lowest common denominator APIs are a non-starter for high performance graphics work.
Re:Fuchsia OS Introduction by pjmlp on Tuesday March 26, 2019 @05:47PM (#19496335)
Yep, hence given the size of a game engine, it is hardly any different having to deal with multiple flavours of OpenGL/Vulkan, or just use the best API in each platform.

Ergo middleware is the new cross-platform API.

Re:Fuchsia OS Introduction by monocasa on Tuesday March 26, 2019 @01:05PM (#19493743)
Which code?
Re:Fuchsia OS Introduction by pjmlp on Tuesday March 26, 2019 @03:02PM (#19494981)
Game engine code, where testing for each extension and reacting accordingly leads to several if(){ } else { }, or a vendor agnostic interface layer, making the total development cost hardly much different than supporting multiple 3D API flavours.
Re:Fuchsia OS Introduction by monocasa on Tuesday March 26, 2019 @03:23PM (#19495171)
The other option is waiting until all of the vendors have the ability that the extension provides and it has made it's way into the standard.

That option hasn't been taken away from you. And unlike OpenGL, you can't unknowingly be relying on an extension since they're opt-in. So what's the problem again?

Re:Fuchsia OS Introduction by pjmlp on Tuesday March 26, 2019 @05:44PM (#19496317)
Nothing, just false advertising on complexity improvement over OpenGL.

Anyway, middleware has won the battle of 3D graphics, what goes on the bottom layer is largely irrelevant to most devs.

Re:Fuchsia OS Introduction by monocasa on Tuesday March 26, 2019 @06:51PM (#19496678)
It's not false advertising. Swapping the extension model to explicit opt-in is one of many pieces designed to help you manage complexity in a non trivial project for the reasons I've stated.
Re:Fuchsia OS Introduction by pjmlp on Wednesday March 27, 2019 @03:28AM (#19498729)
So far the amount of boilerplate to handle extension management and code paths in Vulkan samples shows otherwise.
Re:Fuchsia OS Introduction by monocasa on Wednesday March 27, 2019 @12:52PM (#19502910)
Or, if you care that much, you can not have any of that and just not enable any extensions. Easy peasy
Re:Fuchsia OS Introduction by pjmlp on Thursday March 28, 2019 @03:27AM (#19510058)
Or just use a middleware engine and profit from best 3D API provided by each platform owner, much better.