STEAM 组
Valve Pipeline ValvePipeline
STEAM 组
Valve Pipeline ValvePipeline
71
游戏中
454
在线
成立于
2013 年 7 月 31 日
所有讨论 > Programming > 主题详情
ecumene 2014 年 6 月 13 日 下午 7:34
Any possibility for java?
I'm really kinda new here. I've been programming for five years, with java. I mostly use Java with OpenGL 3.0. I learnt allot of mathematics like matrices, quaternions, and vectors. But I find it funny, allot of people in this forum represent "coding" with C++ only.

C++ Isn't the best language, and I'm not saying java is "better" either. I'm just wondering why pipeline doesn't have very many Java programmers. Please don't tell me Java is slow, as someone who has benchmarked it between 4 different languages, the compile time is out of this world.
< >
正在显示第 1 - 2 条,共 2 条留言
Netshroud 2014 年 6 月 14 日 上午 6:36 
Please don't tell me Java is slow, as someone who has benchmarked it between 4 different languages, the compile time is out of this world.

And the execution time?
ecumene 2014 年 6 月 14 日 下午 3:58 
引用自 Netshroud
And the execution time?

Just because it talks through JVM, doesn't make that slower either. Oracle practically invented Virtual Machine Emulators. They're really good at it.

Also, if you're good at OpenGL, this "java is slow" thing is easy to get past. Using interleaved VBOs, Vertex calls are litterally done at runtime. So that leaves allot of space for the CPU bottleneck that people say's java causes. (Which it doesn't)

Assuming some people don't know why you would worry about CPU bottlenecks in OpenGL, Its because the vertex calls with the deprecated methods like glBegin, and glEnd, (fixed function pipeline) relied on the software running on the CPU to tell OpenGL what buffers to use per frame. Now, people use VBOs (Vertex Buffer Objects, and Vertex Attribute Objects) to interleave the buffers on the GPU's vram.

Old java, like 1.5 was slow. But its really freaking fast now.
最后由 ecumene 编辑于; 2014 年 6 月 14 日 下午 4:01
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50

所有讨论 > Programming > 主题详情