I know you can call C from Julia and therefore most other (non-GC) 
languages. And with embedding, vice versa.

Of course you always can call other languages, say with RPC etc. but wander 
what the limitations are to call directly.

It seems to me you can call C because it is not a garbage-controlled 
language. And when embedding Julia in C then you get the whole runtime and 
it is similar to embedding Prolog in C. I've just not looked to much into 
embedding. Would you say calling in that direction is more difficult 
because of it or some other reason?

It seems to me you would want Julia to be the "master language" on top 
because it has GC (and is the more "powerful language").

In theory, calling other GC languages such as Java or C# should be possible 
but not in practice (without copying/RPC) because you can have only on GC, 
right? Still calling Python is possible, because it uses reference 
counting, not true GC? But it also has GC for cycles. So maybe there is no 
difficulty with GC or is that part just disabled?


And:
I know about the current situation with calling C++. For old Python code 
(even on Windows) and numpy (or whatever) that calls C++ (Microsoft's 
Visual Studio), since Julia can call Python, should there really be any 
reason for it be difficult to call C++ if it is only indirectly?

Best regards,
Palli.

Reply via email to