+ 1

How are applications created using more than a language?

I hear this a lot, for example x program was created using both y and z languages. If I were to make a trainer for an offline game, to manipulate some values (like money, speed etc.), I would create memory manipulation thing in C++ (different programs for different values, f.e money.exe manipulates money and speed.exe manipulates money and so on) and then with a language that lets me create GUI easier than C++, I would create GUI then run the appropriate executable with the buttons. 1) Is this how using more than a language for a program works? 2) Is the way I explained for this type of job (creating trainer) good or not? 3) How can this (trainer thing, or any kinda program that is similar to what I want to do, like buttons and different jobs) be achieved in other way (except doing it in the same language both backend and frontend)? [Sorry about the tag, I couldn't find anything that makes sense in this context]

19th Jun 2020, 9:08 PM
Mustafa K.
Mustafa K. - avatar
12 Antworten
+ 4
Get more info about system integration. It would also help if you have a deep understanding about computer architecture
20th Jun 2020, 1:35 AM
Da2
Da2 - avatar
+ 2
Oh! What you are looking for is a web development platform. Forget about architecture, you are not into integration.
20th Jun 2020, 8:50 AM
Da2
Da2 - avatar
+ 2
I do think I am getting you. There are non-web platforms but the reason I suggested web is they have plenty of front-end graphical resources. If you are doing a game app, there are also platforms for those. I could be wrong but you are trying to avoid the tedious coding that deal with graphical interface.
20th Jun 2020, 9:03 AM
Da2
Da2 - avatar
+ 1
Start with the different layers of data communications. This will give you an idea why, at times, you need to use different languages & scripts for particular functionality
20th Jun 2020, 8:27 AM
Da2
Da2 - avatar
+ 1
Why do you have to do this? As much as possible, we develop using a single language. We avoid using more than one language since it is more complex. I think, you are looking for a scripting language that call different applications. Unix & Linux have it
20th Jun 2020, 8:39 AM
Da2
Da2 - avatar
+ 1
Two programs written in different languages can communicate using socket programming, each program language will expose apis to do that.. for example on the same machine program 1 written in language c can listen on ip1:port1 for messages from program 2 written in c++, and program 2 can listen on ip1:port2 for messages from program 1.
21st Jun 2020, 8:48 AM
Mahesh
+ 1
Plus there are lot of IPC mechanism, inter process communication, an half hour googling on it will help u to clarify ur doubts
21st Jun 2020, 8:50 AM
Mahesh
0
Da2 Actually I'm not at the point of why do I need but how can I implement such idea. I mean how to integrate programs written in different languages for the same purpose? Is my example right (writing codes for different functionalities then running them from main program which controls them) or not? If not how could this be implemented? Also I couldnt find anything useful for me about system integration, and where do I need the knowledge of computer architecture in this context?
20th Jun 2020, 8:33 AM
Mustafa K.
Mustafa K. - avatar
0
Da2 As you know its difficult to create GUI part of the program with C++, so I thought creating the backend part of the cheat with C++ and frontend part with java or python instead of bothering with C++
20th Jun 2020, 8:43 AM
Mustafa K.
Mustafa K. - avatar
0
What about web dev. man, I dont have anything to do with web part. How do you think will I manage to make the cheat running without C++, what I am saying is I dont wanna bother creating the GUI with C++, dont wanna strugge writing lines of codes for just a window and some buttons, instead I thought of making this in python or java with just a line or two for doing that? Does this not make sense?
20th Jun 2020, 8:57 AM
Mustafa K.
Mustafa K. - avatar
0
Da2 thanks for the link but the thing is that how should the communication between more than 2 programs written in different languages be? Is making a main controller like program then using it to run others that does the functionality a good idea? Or creating a main backend program that does all the functional thing that we need, but to choose one operation in this program using a text file to tell what operation to make thru the main controller? Or what?
20th Jun 2020, 9:14 AM
Mustafa K.
Mustafa K. - avatar