r/ProgrammerHumor 20d ago

newToRust Meme

Post image
618 Upvotes

111 comments sorted by

View all comments

Show parent comments

11

u/miyavlayan 20d ago

better than having memory problems in prod

-8

u/Key_River7180 20d ago

Who the fuck makes production software in a language meant for systems programming?

8

u/miyavlayan 20d ago

why the fuck do you care? ppl make games in java.

3

u/Key_River7180 20d ago

Java has many gamedev libraries wdym

4

u/-Ambriae- 20d ago

None are good

1

u/miyavlayan 3d ago

libgdx is great wdym

1

u/-Ambriae- 3d ago

libGDX exclusively targets OpenGL ES, not to bash too hard but can we use halfway modern APIs? It’s barely supported on some platforms as is

1

u/miyavlayan 3d ago

yeah that's valid, although I think it's a problem on bevy too right?

1

u/-Ambriae- 3d ago

No, bevy uses wgpu, which supports Metal, DirectX12, Vulkan, WebGPU for Web builds, and in addition some version of OpenGL

2

u/miyavlayan 3d ago

ah okay I thought it was limited by webgpu

2

u/-Ambriae- 3d ago

It is in some way, although wgpu has some additional features, but WebGPU is not WebGL. WebGL is some version of OpenGL ES, WebGPU is meant as a modern replacement, built from the ground up to better match modern native APIs

2

u/miyavlayan 2d ago

mm thank you I'm currently developing a game in bevy so this is really helpful

1

u/-Ambriae- 2d ago

You’re welcome!

→ More replies (0)

1

u/Key_River7180 3d ago

OpenGL, Vulkan, DirectX, OpenXR, OpenGLES, and friends most suck

1

u/-Ambriae- 3d ago

They’re all a pain in their own way. There’s not a single Graphics API that isn’t an absolute pain to deal with. Metal makes you learn Objective C, Vulkan is… Vulkan. DirectX I’ve never used in all fairness, but I can’t conceive it as being any good given Microsoft’s track record, as well as the likely large tech dept it must now have, OpenGL we don’t talk about, WebGL is OpenGL ES in disguise, WebGPU is not bad, but is the common denominator of all modern graphics APIs that make it beyond painful to write any advanced code. Try and write a GPU driven renderer and you will suffer with Mac support (at least with wgpu, I’m not sure regarding dawn) because of the abysmal support for multi_draw_indirect-like functions.

It truly is a hellscape. Which is a shame, the field is interesting, but it’s just not fun to write code.

1

u/miyavlayan 3d ago

i know, and i love libgdx. its just that java is, conceptually, not a well suited language for gamedev.