[Mono-list] Mono with other languages
Jonathan Pryor
jonpryor at vt.edu
Mon Feb 11 05:23:17 EST 2008
On Mon, 2008-02-11 at 09:43 +0000, Dan Smithers wrote:
> Can I use Mono with languages other than C# on a Linux platform?
Yes. Mono doesn't care about language, it cares about IL, so any
compiler that generates IL can generate assemblies that will execute
under Mono.
So the only real questions are:
1. What language do you want to use?
2. Does that language have a compiler that runs on Linux?
If your language's compiler doesn't run on Linux, you can instead
compile your code on Windows and copy the resulting assemblies to Linux
(though care does need to be taken to ensure that you only use
types/methods that Mono has implemented; MoMA[0] can help in this). For
example, C++/CLI on Windows with the /clr:safe flag should produce
assemblies that Mono will execute.
An incomplete list of languages that work under Linux:
- C#
- VB.NET (through vbnc)
- Boo
- Nemerle
- IronPython
- IronRuby
- F#
- Jon
[0] http://www.mono-project.com/Moma
More information about the Mono-list
mailing list