Miguel de Icaza Explains How to "Get" Mono
Subject:   Other language support?
Date:   2005-03-21 18:14:05
From:   timharig
One of the great promises of .net/mono was that it was going to be available to many different languages. This is somewhat true for the Windows platform where the developement languages are limited anyway but seems like C# is the only real option. Perl, Python, C, and C++ are the most prevelant languages to unix communities but I have not seen any real implimentations or even the planning for them to come out of mono. I think even Windows has a somewhere?

It is not unreasonable to assume that programmers of these languages would appreciate some way to develope for the mono/.net VM with bindings to their libraries. It also does not seem like something unreasonable to do. Python already has a simular relationship with Java through JPython. If Perl can be revampted to use Parrot then why not mono on the open source arena?

I have been watching mono for some time. I like the ideas behind it but have held back because I do not C# the language any more then I like Java. When I want a systems language I use C/C++ when I want a scripting language I use Python and I am not really fond of blended languages like C#/Java. I often write code for the JVM with JPython to avoid using the Java language. When will somthing like this be ready for mono?

Full Threads Oldest First

Showing messages 1 through 10 of 10.

  • Other language support?
    2006-02-22 20:43:37  reillyuser2 [View]

    See Boo as an alternative language for Mono.

    It's rather Pythonesque, and the compiler is also extensible.

  • Other language support?
    2005-03-23 14:18:33  riffraff [View]

    I think the theorical support for multiple languages on top of the clr has not been very exploited till now.
    for a nice view of how VB was changed to fit the CLR specification.
    It seem to me that the usual joke "you can run every language on the clr, as long as it is C#" has a great part of truth.
  • Other language support?
    2005-03-23 08:05:48  ______________________ [View]


    It has a very simple python-like syntax, but has the functionality that languages like C# and ruby have, such as closures, interfaces, optional type declarations, type inference, duck typing, etc. Since it is statically typed it is as fast as C# code.
  • Other language support?
    2005-03-22 09:02:55  simon_hibbs [View]

    Iron Python is what you're looking for:

    It targets both .NET and Mono, but is still in the early stages of development.

    Simon Hibbs
    • Other language support?
      2005-03-23 07:40:05  Seanairt [View]

      I completely agree. One reason I have to date avoided Mono is because I haven't even heard a whisper in the community for supporting C++/CLI. Until Mono forms a community of active C++ developers to target the CLI, I will continue to write my software using alternative platforms.
      • Other language support?
        2005-03-25 06:34:27 [View]


        Now that gcc got a new intermediate representation that is more flexible, we think that it may be possible to have a backend targetting CLI, in that way, all fine gcc front-end including C/C++/Fortran/etc. may be able to be used to program for Mono.

        Also the main reason we didn't tackle the C++/CLI issue was that MS did it wrong the first time, by mixing native code with fully managed (bytecode) code, that is SIMPLY NOT PORTABLE. Now they've come with a better solution, but surely, the needed language extensions means your old code isn't readily reusable anyway.

        Also, as Miguel said, with Platform/Invoke (similar but much simpler to use than Java's JNI) we can call most native libraries, even in a cross-platform way if the API is preserved among native implementations of the library.

        So if you just want to reuse some C++ code in a new Mono-based solution it is easy.

        Having written and mantained some million or so lines of C/C++ code in my career I can say that I prefer C# every single day.
    • Other language support?
      2005-03-23 06:27:12  gbraad [View]

      Jim Hugunin, the programmer behind IronPython, now works for Microsoft. So at the moment, no one is really actively programming for this project. it is quite unsure if anyone will ever resume to do so.

      anyone, what about making the parrot on top of CLR?!? or make Cocoa# also work with GNUstep.
      • Other language support?
        2005-03-23 10:07:16  tomvons [View]

        IronPython 0.7 was just released.
      • Other language support?
        2005-03-23 07:26:38  xet7 [View]

        There already have been some updates to
        IronPython by Andy Somogyi:
        • Other language support?
          2005-05-07 10:10:29  jony [View]

          Yes , you're right