News for hackers. Stuff that matters.
Re:Portability benchmark of Dota2 on MacOS by smaddox on Friday August 10, 2018 @11:36AM (#17734269)
Great work on the gfx portability layer! I hope to be able to use it in the future, but for the time being I've abandoned gfx in favor of raw OpenGL calls in order to avoid the type complexity in gfx (I spent multiple hours trying to cram all of the gfx state into a struct, but could not figure out what to put as some of the type signatures... even with the compiler trying to help me). Hopefully the the low-level API, once stable, will give me the type simplicity I prefer.
Re:Portability benchmark of Dota2 on MacOS by kvark on Friday August 10, 2018 @11:53AM (#17734443)
You can also try one of the Vulkan Rust libraries (ash, Vulkano). Later you'd have easier time migrating to gfx-hal, or alternatively can just run over gfx-portability.
Re:Portability benchmark of Dota2 on MacOS by smaddox on Friday August 10, 2018 @01:27PM (#17735205)
I'm currently using my MacBook pro for development, so vulkan isn't an option right now. I'll definitely keep that in mind, though.
Re:Portability benchmark of Dota2 on MacOS by jrhurst on Friday August 10, 2018 @04:57PM (#17736676)
I've been doing my Vulkano learning on a mac about half of the time. MoltenVK makes it good enough to get things going.
Re:Portability benchmark of Dota2 on MacOS by kvark on Friday August 10, 2018 @06:51PM (#17737259)
Well, at least now your know that there is an alternative. For a Rust ecosystem project, really, there shouldn't be a need to use MoltenVK.
Re:Portability benchmark of Dota2 on MacOS by termhn on Friday August 10, 2018 @04:41PM (#17736582)
Sure it is, use MoltenVK or `portability` from this article :)