Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (804)
Games in Android Showcase (237)
games submitted by our members
Games in WIP (867)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  GPU programming article in January 2020 Oracle Java Magazine  (Read 1019 times)
0 Members and 1 Guest are viewing this topic.
Offline CommanderKeith
« Posted 2020-01-29 00:03:41 »

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.

Offline princec

« JGO Spiffy Duke »


Medals: 1136
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #1 - Posted 2020-01-29 14:30:08 »

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

Cas Smiley

Offline Spasi
« Reply #2 - Posted 2020-01-29 15:49:29 »

Minecraft migrated to LWJGL 3 in the Aquatic update (v1.13, July 2018).
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

« JGO Spiffy Duke »


Medals: 1136
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #3 - Posted 2020-01-29 15:55:08 »

Bloody hell, took their time!

Cas Smiley

Offline KaiHH

JGO Kernel


Medals: 787



« Reply #4 - Posted 2020-01-29 17:57:23 »

I think the article may be riddled with innaccuracy.
True!

Quote
CUDA: Nvidia’s proprietary platform, which uses a subset of the C language
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.
Pages: [1]
  ignore  |  Print  
 
 

 
Riven (438 views)
2019-09-04 15:33:17

hadezbladez (5292 views)
2018-11-16 13:46:03

hadezbladez (2212 views)
2018-11-16 13:41:33

hadezbladez (5561 views)
2018-11-16 13:35:35

hadezbladez (1156 views)
2018-11-16 13:32:03

EgonOlsen (4592 views)
2018-06-10 19:43:48

EgonOlsen (5467 views)
2018-06-10 19:43:44

EgonOlsen (3127 views)
2018-06-10 19:43:20

DesertCoockie (4023 views)
2018-05-13 18:23:11

nelsongames (4739 views)
2018-04-24 18:15:36
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!