|
your client needs to be multi-platform (windows/apple/linux), right? and there's a GUI involved? That sounds like a job for java.
But why does your server need to be multi-platform? Deploy it once on whatever platform you like and then your multi-platform client(s) can communicate with it via a single API.
Do you know about docker? It containerizes the entire server environment (kinda like an update-as-you-go VM machine image). So, we care *so little* about multi-platform compatibility server-side, that we don't even make the server compatible with linux in general -- its only compatible inside the docker container, where we've already installed all the dependencies, set up whatever files/directories we need, installed the server (nginx, gunicorn, whatever), etc.
The server app can literally *only* run inside a single pre-configured containerized environment.
I honestly think its a complete waste of time to build a multi-platform server-side app.
BTW you remind me of a lot of older programmers I know -- you make me look like a joke when it comes to writing Java or C that interacts with the OS and uses threads and low-level shit like that, but you're lost and ineffective when it comes to software development with modern frameworks. I have literally no idea how to develop or integrate a runtime library or make a multiplatform GUI app, but I can spin up a fully functional web app in a tenth of the time it takes you just to get your environment set up.
Learn python or node, my friend.
|