Re: VS.NET against JAVA

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Alun Harford <devnull@xxxxxxxxxxxxxxxxx> wrote:

<snip lots of bits>

Gabriele wrote:
VS.NET (C#) against VS.NET (VB.NET) about easy of development of GUI

Development of GUI in VS/C# is trivial, whereas in Java it's very
painful. Personally I found my GUI development to take 1/10th of the
time when I switched from Java to C#.

But do all your forms resize nicely? I've found that (prior to WPF)
it's very easy to create a *bad* UI in .NET, but hard to create a
*good* one. Java's layout managers take a while to get used to, but end
up creating a better app.

Oh, and I believe the Java GUI designers have come on a lot in the last
year or so. I haven't used them myself.

Having done a little bit of WPF now, it looks like that will be a
*much* better way of doing UI in my view - especially as it means I can
avoid the designer and still be nice and quick :)

Java and C# both execute pretty quickly - they're both JIT compiled
languages...
Which is faster depends on what you're doing.

For raw processing power, Java is superior (the C# compiler needs
serious work on optimization).

Most optimisation isn't done by either the C# or Java compilers. It's
done by the JITs. I preferred the earlier sentence: it really *does*
depend on what you're doing. If you're using virtual methods which have
never been overridden and can be inlined, Java will be a lot better. In
other cases, C# will be faster. That goes to raw execution as well as
graphic libraries.

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.



Relevant Pages

  • comp.lang.java.gui FAQ
    ... Q1.3 There are so many Java FAQs. ... Q1.4 Does Sun support or endorse this FAQ? ... Q3.2 How do I update the GUI from another thread? ... Q4.2 What is the Swing single-threading issue? ...
    (comp.lang.java.gui)
  • comp.lang.java.gui FAQ
    ... Q1.3 There are so many Java FAQs. ... Q1.4 Does Sun support or endorse this FAQ? ... Q3.2 How do I update the GUI from another thread? ... Q4.2 What is the Swing single-threading issue? ...
    (comp.lang.java.programmer)
  • Re: Whats your favorite language and why? (LINUX)
    ... and if you want to do GUI, your MT GUI app must serialize all the info ... of are the CLR and the JVM. ... coordination, and with that, any needed synchronization. ... At times, you'll want Java. ...
    (comp.programming)
  • Re: A question to the APL vendors on Windows GUIs ...
    ... Is there a possibility of using "Java GUI Modules" instead? ... we can't provide natural APL interfaces to every possible ... low-level programming. ...
    (comp.lang.apl)
  • comp.lang.java.gui FAQ
    ... Q1.2 There are so many Java FAQs. ... Q1.5 What is Swing? ... Q2.1 My GUI freezes or doesn't update. ... Q2.5 How can I make a transparent or non-rectangular window? ...
    (comp.lang.java.gui)