News for hackers. Stuff that matters.
Re:Metal for IntelliJ Platform by johnisgood on Thursday November 26, 2020 @07:42PM (#25224622)
It consumes less energy? By how much, and was this the main motivation?
Re:Metal for IntelliJ Platform by jmarcher on Thursday November 26, 2020 @07:48PM (#25224658)
The main motivation is OpenGL being removed from macOS at some point.
Re:Metal for IntelliJ Platform by gravypod on Thursday November 26, 2020 @07:56PM (#25224692)
I'd assume there's other considerations because if that were the only concern why not go with Vulkan, an industry standard?

https://github.com/KhronosGroup/MoltenVK

Battery life might be a good reason

Re:Metal for IntelliJ Platform by p1necone on Thursday November 26, 2020 @09:59PM (#25225232)
From what I understand MoltenVK is not super efficient compared to native Vulkan on other platforms.
Re:Metal for IntelliJ Platform by pvg on Thursday November 26, 2020 @08:08PM (#25224749)
For this sort of thing, adding another layer of indirection (and another dependency, developed elsewhere with potentially different priorities) is much more likely to end up being a 'now you have two problems' kind of scenario.
Re:Metal for IntelliJ Platform by hvis on Thursday November 26, 2020 @08:36PM (#25224888)
But they would have both a macOS port and a cross-platform Vulkan port then. "Two birds, one stone" kind of scenario.

And it's hard to imagine Java2D would have more complex requirements for Metal than the games that are already using MoltenVK.

Re:Metal for IntelliJ Platform by Macha on Thursday November 26, 2020 @10:07PM (#25225258)
OpenGL is still "fine" on Windows and optimal on Linux (which if their survey is accurate, are both larger platforms for them than Mac https://www.jetbrains.com/lp/devecosystem-2020/ ).

Of course, they could go full dx12 on Windows, Vulcan on Linux and Metal on Mac, but precisely because their needs are not that demanding in the graphics department, I imagine the incentive is to keep it simple

Re:Metal for IntelliJ Platform by hvis on Friday November 27, 2020 @10:17AM (#25229299)
The Vulkan drivers should be at least as available as OpenGL on both Windows and Linux. So it would make sense to target Vulkan and thus benefit from a shared codebase.

And if their Mac client base is not big, it should make even more sense to experiment with MoltenVK (lower risk).

Anyway, they probably have good reasons for that choice. Just wondering what those are. Perhaps Oracle is not big on relying on community projects like MoltenVK?