GPU programming article in January 2020 Oracle Java Magazine

Interesting article here, but strange that LWJGL is not mentioned at all.

Also, the author says that Minecraft uses JOCL but I’m quite sure that it originally used LWJGL. Perhaps both were used.

https://blogs.oracle.com/javamagazine/programming-the-gpu-in-java?source=:em:nw:mt::RC_WWMK190726P00001:NSL400026250&elq_mid=153837&sh=16221807190412122304260923312817032506&cmid=WWMK190726P00001C0005

[quote]As far as I know, there is no Java infrastructure that supports DirectX, but there is a nice binding for OpenGL. JSR 231 was started in 2002 to address GPU programming, but it was abandoned in 2008 and supported only OpenGL 2.0. Support of OpenGL has been continued in an independent project called JOCL, (which also supports OpenCL), and it’s publicly available. By the way, the famous Minecraft game was written with JOCL underneath.
[/quote]

AFAIK Minecraft only uses LWJGL2.9, and no GPU compute. I think the article may be riddled with innaccuracy.

Cas :slight_smile:

Minecraft migrated to LWJGL 3 in the Aquatic update (v1.13, July 2018).

Bloody hell, took their time!

Cas :slight_smile:

True!

[quote]CUDA: Nvidia’s proprietary platform, which uses a subset of the C language
[/quote]
No? You can use full-fledge C++ even with classes and polymorphism with virtual functions in device code…
That guy definitely did not do any research.