[Mono-list] using other languages in c#? [slightly OT]
Daniel Carrera
dcarrera@math.toronto.edu
Fri, 12 Apr 2002 10:35:18 -0400 (EDT)
> cant any language just compile a DLL and you can then use that in your
> other langauge app? im
Yes and no.
You can make a library in one language and use it on another, *HOWEVER*,
you need to create a *binding* (some soft of "glue work") to make that
happen.
You must create a binding for each and every language that you want to
acces the library.
What makes .NET different is that this would not be necessary. All
languages would be compiled to a bytecode and they could use components
from each other without having to build bindings.
This is actually the very reason why Mono exists. One of the good things
about the Ximan Gnome desktop is that it offers bindings for many
languges. However, it is very difficult to maintain all those bindings,
and that slows down development.
One of Migel's objectives in making Mono was to bypass the cost of
maintaining those bindings. All the code would be compile to the IL
(Intermediate Language) and we would get multiple-language support without
the cost of maintaining bindings.
This then, answers your other question: Yes, Mono is definitelly planning
on supporting more languages eventually. That's the whole idea.
I hope this helps,
Daniel.
On Fri, 12 Apr 2002, Peter Revill wrote:
> (Please CC: all awnsers to arevill@bigpond.net.au)
>
> OK, please read that again, i admit straight up, this may be considered
> off topic by some, but im having a very difficult time with it.
>
>
> With c#, it is my understanding that you can use other langauges in your
> c# code so to speak, im sure its a bit more technical than that, but i
> have three questions.
>
> 1. Do you plan to implement this feature in your implementation of .net?
> 2. (and this is teh OT question) does anyone know actually how it
> works/how you even do it? Ive looked around at the microsoft .net site,
> but to no avail, it was also mentioned on perl but i was a little
> confused, i dont actually understand, if all ti does is make it so you
> can use other langauges code through DLLS, cant any language just
> compile a DLL and you can then use that in your other langauge app? im
> confused.
> 3. will your implementation be diffirent?
>
>
>
> Thanks.
> Peter
>
>
>
>
> (CC all awnsers to arevill@bigpond.net.au);
>
>
>
>
> _______________________________________________
> Mono-list maillist - Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>