views:

159

answers:

8

Just curious, is it possible to write a multi-platform program that is not writen in Java.

If true, could I do it by compiling two or three different programing languages (for each platform) together so that it would run on different platforms.

+3  A: 

Mono offers you the opportunity to write multiplatform applications in C#.

From http://en.wikipedia.org/wiki/Mono_%28software%29:

Mono can be run on Linux, BSD, UNIX, Mac OS X, Solaris and Windows operating systems.

kahoon
+4  A: 

Python is a multi-platform language, available for all the usual platforms.

pavium
+4  A: 

See here http://en.wikipedia.org/wiki/Cross-platform

C++ is the traditional cross-platform language. However, there are many other popular choices such as Python.

JTA
+1  A: 

Silverlight is multi-platform and can be run out-of-browser.

John Fisher
+1  A: 

Perhaps ANSI C. This standard is supported by virtually every known platform and architecture, and you can go just about anywhere with it. However, one must strictly comply with the ANSI C standard as if one doesn't you will almost always introduce some level of platform dependence.

RCIX
+1  A: 

The web, surely! Any web-application can run on any device with a web-browser and an Internet connection. This is probably the "future" of cross-platform development. And your users don't even have to install anything.

carl
Then they write programs that hook into specific browsers (IE6 springs to mind) and ruin the whole idea....
masher
A: 

There are plenty of non-Java cross-platform languages. C/C++, C# (using Mono), Python, PHP, Perl... Even Visual Basic has a cross platform implementation (http://www.mono-project.com/VisualBasic.NET%5Fsupport).

Adam
+2  A: 

Pharo is multiplatform.

It uses the Smalltalk language, which is object-oriented.

There is a free introduction book, Pharo by Example.

Adrian
I routinely develop on both a Mac and a XP machine, and deploy to Linux
Stephan Eggermont