31
submitted 4 days ago by [email protected] to c/[email protected]

Backend Server in C++

Client in Java

Content scripting in LUA

Website in PHP

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 4 points 4 days ago

Why the fuck would you go for Backend in C++ and frontend in Java 🤣 just the wrong way around

[-] [email protected] 1 points 4 days ago

Because in theory you know what the server is running on, and can optimise for that with C++, while supporting the front end on multiple architectures using one codename with Java.

[-] [email protected] 1 points 4 days ago

The JIT compiler of Java does the optimization you're talking about. So that advantage of C++ is not really there.

You can compile C++ for all architectures you want as well. The reason you don't normally use Java for clients is that the garbage collector runs at undefined times, causing stuttering. This has been rectified through new algorithms though, so the real reason why you don't wanna use Java is because it simply doesn't have the best tooling and libraries that C++ has, no Unreal engine and no Godot.

[-] [email protected] 3 points 4 days ago

This is a game from the 90s my dude. Java was "The portable language".

load more comments (1 replies)
this post was submitted on 31 May 2025
31 points (94.3% liked)

Free and Open Source Software

18902 readers
145 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS