mixed-language

Can you call C++ functions from Ada?

Can you call C++ functions from Ada? I'm wondering if there is a way to do this directly, without doing the implementation in C and writing a C++ wrapper & and Ada wrapper, e.g. I would like to go c++ -> Ada rather than c++ -> c -> Ada. ...

Visual Studio, Intel Visual Fortran, and Visual C/C++ mixed-language compile

Working with Visual Studio 2008 Pro, with Intel Fortran compiler v11, on Windows 7 x64. I have an Intel Visual Fortran project set up with all the fortran source files. I wish to gradually replace all these subroutines with C/C++ (actually cuda -- bonus points). Simply right clicking on source files in the solution explorer and "add exi...

Mixing VB.Net and C# Code in an ASP.Net Web Application?

The question quite an older and often asked around, i have similar questions here but my question is a bit more specific. Q1. Is it legal to mix C# and VB.Net code in ASP.Net Web Application? Will it work or not? If it works how it may be done? Any sample will be good. Q2. If there are any repercussions of mixing C# and VB.Net code the...

Can I write parts of the Google App Engine code in Java, other parts in Python ?

Google App Engine supports both Python and Java application development. Can I have both in the same application? ...

Can Garbage Collector reach "garbage" left by a function written in another language?

Imagine that you call from a language with GC repetitively a function from another language (e.g., Fortran 95). The Fortran function leaves something allocated in the memory between calls which might be seen from the caller language as unreferenced rubbish. Could GC from the caller language access the memory allocated in Fortran and con...

Using Fortran to call C++ Functions

I'm trying to get some FORTRAN code to call a couple c++ functions that I wrote (c_tabs_ being one of them). Linking and everything works just fine, as long as I'm calling functions that don't belong to a class. My problem is that the functions I want the FORTRAN code to call belong to a class. I looked at the symbol table using nm and ...

Using different languages in one project

I recently heard about the use of several different languages in a (big) project, I also read about famous services such as Twitter using Rails as frontend, mixed with some other languages, and Scala I think it was as backend. Is this common practice? Who does that? I'm sure there are disadvantages to this. I think that you will have p...

c++ project using c# assemblies: how to speedup compile time?

I've got a mixed c++/c# project. The original project is c++ and has been extended using c# assemblies. In the beginning this was ok, but since the c# part is growing I experience a big problem growing: Compile time of the c++ part becomes a problem. Why? Simple: every time I change something in a c# project, the c++ compiler is not su...