Hello forum I have a simple question , is it possible to link more than two programming languages in one applications?
I was wondering if it's just possible
8 replies to this topic
#1
Posted 28 August 2011 - 10:07 AM
|
|
|
#2
Posted 28 August 2011 - 11:01 AM
Depends on the languages.
If you take for example vb.net and c#, than yes.
Other language can be a little more difficult to do, you could use some dll, or calling a program from a other program (via tcp/ip for example)
Give us more details about what you are trying to do, and we'll be able to help you more
If you take for example vb.net and c#, than yes.
Other language can be a little more difficult to do, you could use some dll, or calling a program from a other program (via tcp/ip for example)
Give us more details about what you are trying to do, and we'll be able to help you more
#3
Posted 28 August 2011 - 11:20 AM
It definitely depends on the language, and also the compiler. Trying to compile Delphi with other languages is tricky, because it doesn't use .dll files as easily as other languages, and creates very different object files. Interpreted languages have even more issues, since they don't get compiled.
#4
Posted 28 August 2011 - 11:52 AM
Vaielab said:
Depends on the languages.
If you take for example vb.net and c#, than yes.
Other language can be a little more difficult to do, you could use some dll, or calling a program from a other program (via tcp/ip for example)
Give us more details about what you are trying to do, and we'll be able to help you more
If you take for example vb.net and c#, than yes.
Other language can be a little more difficult to do, you could use some dll, or calling a program from a other program (via tcp/ip for example)
Give us more details about what you are trying to do, and we'll be able to help you more
Well I'm doing Arcgis using Arcmap and I wanted to make an interface that takes some files with a VB GUI but uses python for the variables and similar things.
I don't understand it that much myself , but Arcmap has python inside of it and you can use it as a script.
Arcmap is on ESRI website if you want to check it out, is use for Geospatial Analysis.
---------- Post added at 11:52 AM ---------- Previous post was at 11:51 AM ----------
WingedPanther said:
It definitely depends on the language, and also the compiler. Trying to compile Delphi with other languages is tricky, because it doesn't use .dll files as easily as other languages, and creates very different object files. Interpreted languages have even more issues, since they don't get compiled.
Python and VB?
#5
Posted 28 August 2011 - 01:20 PM
How about linking Python and JavaScript?
#6
Posted 28 August 2011 - 02:29 PM
WingedPanther said:
How about linking Python and JavaScript?
Will I still be able to make a GUI?
That can for example transport a folder to another directory.
#7
Posted 28 August 2011 - 04:05 PM
Python has bindings for a variety of GUI toolkits. wxPython (a wxWidgets binding, which is a C++ library) is a powerful one.
#8
Posted 28 August 2011 - 05:12 PM
WingedPanther said:
Python has bindings for a variety of GUI toolkits. wxPython (a wxWidgets binding, which is a C++ library) is a powerful one.
I have used wxPython, but I thought it wasn't good. Now that i notice that is what i should be doing.
#9
Posted 30 August 2011 - 12:49 PM
In general the Language doesn't define a reason to why it can't link to another language. The simple barriers are compiler formats and library formats etc; the complicated barriers are the execution model, stack definitions, storage standards etc...
If you look at the COM technology of Windows for instance (which is basically RPC,) the idea is the object can exist in any language on any computer; and you can interface as if it is native code; the amount of work required for this is huge; but that is the idea.
However as alluded to by the other posts; you probably will find a single language which will allow you todo what you want. Or you look at use a distributed Client-Server achtecture; which say a C++/C/Python/whatever server and a VB front end.
If you look at the COM technology of Windows for instance (which is basically RPC,) the idea is the object can exist in any language on any computer; and you can interface as if it is native code; the amount of work required for this is huge; but that is the idea.
However as alluded to by the other posts; you probably will find a single language which will allow you todo what you want. Or you look at use a distributed Client-Server achtecture; which say a C++/C/Python/whatever server and a VB front end.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









