[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: Newbie question (Mono)
by Anonymous Coward on Monday 18/Mar/2002, @10:49
First off, see Ximian's Mono site for accurate answers. Short answers follow.

1) Yes. GTK+/GNOME or Qt.

2) The bindings allow a ".NET" program to say "make a button" and get a (GTK+/Qt) button. Unlike (non-GNOME-ified) Java, where all platforms use the Java Swing widgets, Mono will use "native" widgets. (Incidentially, Java can display GTK+ widgets in lieu of the Swing widgets as well.)

3) Mono. More precisely, a Mono-based bytecode interpreter and possibly a special "gcc .NET" with the capability to compile .NET bytecodes into native binary on a specific OS/CPU combination. For example, one might download a .NET application and compile it for Linux 2.6 on a PowerPC G5 to avoid the overhead of bytecode interpretation. (Since both Java and Perl manage to run pretty decently WITH bytecode interpretation, it's unlikely to be a major necessity.)
  Related Links
 ·   Articles on Developer
 ·   Also by Anonymous Coward
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: Newbie question (Mono)
by dc on Monday 18/Mar/2002, @20:26
> (Since both Java and Perl manage to run pretty decently WITH bytecode interpretation, it's unlikely to be a major necessity.)

*shrug* I guess that's why most end-user apps are made with C/C++/Object Pascal (Delphi).
[ Reply To This | View ]
  • Re: Newbie question (Mono)
    by Richard Dale on Tuesday 19/Mar/2002, @01:39
    I thought Visual Basic was quite popular.

    -- Richard
    [ Reply To This | View ]
Re: Newbie question (Mono)
by Justin Malcolm on Tuesday 19/Mar/2002, @08:21
From looking at the code, it seems that the "make a button" and get a (GTK+/Qt) button scenario is still a dream. If you have to say "make a Qt button" then it is pretty specific to Qt and KDE.

From my understanding, the MONO folks are writing things so that you can write an application on Windows that will use Win32 widgets on that platform but use GTK+ widgets when run on Linux.

It would be great if you could just specify Qt or GTK+ as a default on the Linux side and truly have one codebase to execute on all three platforms (Win32, Gnome, and Qt).

Does anybody know if this is being worked on?
[ Reply To This | View ]
  • Re: Newbie question (Mono)
    by Richard Hestilow on Tuesday 19/Mar/2002, @13:42
    The relevant API is called System.Windows.Forms, and is the equivalent to Java's AWT. The current plan is to get the Gtk+ and Qt bindings into shape before writing an API wrapper to access them via System.Windows.Forms.
    [ Reply To This | View ]
Re: Newbie question (Mono)
by .coder on Tuesday 19/Mar/2002, @20:29
What I liked from here, that I can compile C# into native code either it is Win32 or Linux - it is superb!

Java has no such feature, if only it had!
[ Reply To This | View ]
  • Re: Newbie question (Mono)
    by Babbacombe on Sunday 07/Apr/2002, @15:26
    Great news! That's exactly what Java does. Unless you explicitly force java.compiler=NONE on startup, you're using the native code compiler (Hotspot).

    See <a href="http://java.sun.com/docs/hotspot/PerformanceFAQ.html">the Hotspot FAQ</a>.
    [ Reply To This | View ]
  • Re: Newbie question (Mono)
    by Babbacombe on Sunday 07/Apr/2002, @15:26
    Great news! That's exactly what Java does. Unless you explicitly force java.compiler=NONE on startup, you're using the native code compiler (Hotspot).

    See <a href="http://java.sun.com/docs/hotspot/PerformanceFAQ.html">the Hotspot FAQ</a>.
    [ Reply To This | View ]

 
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "Time for a make-it-cool branch?" -- Simon Hausmann
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]