CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2006
    Posts
    108

    What is the best choice for develop cross-platform interface

    I plan to develop a software with a cross-platform interface, and the property of real time is recommended, what is the best choice? Java Swing? Please give me some advice.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: What is the best choice for develop cross-platform interface

    Can you describe what you are trying to do in more detail?

  3. #3
    Join Date
    Mar 2006
    Posts
    108

    Re: What is the best choice for develop cross-platform interface

    I want to develop a 2-dim robot simulation platform, requiring a little real-time speed, and I wish to let it run both on the windows and linux.

  4. #4
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: What is the best choice for develop cross-platform interface

    "Best" is very subjective.

    I would recommend developing ALL of the functionallity in a non-platform specific manner, and then writing very thin optimized layyers for the graphical representation on each platform.

    This provides maximum flexability and portability.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  5. #5
    Join Date
    May 2002
    Posts
    10,943

    Re: What is the best choice for develop cross-platform interface

    Just two cents to contemplate...Precompiled C/C++ can be opened and compiled by many developer tools on both Mac OS and Linux.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  6. #6
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: What is the best choice for develop cross-platform interface

    As TheCPUWizard said, "best" is very subjective. Of course, you can use Java, but you can use also .NET (that is MONO which allows you to run .NET applications on Linux), you can use Smalltalk, or you can use any of "interpreted" languages like Perl, Ruby, Python... There are tons of options.

    Do you need to done it quickly, do you want to present yourself as a geek, do you want to learn something new? I'm affraid that there is no general advice, there are only better or worse options, but no "the nirvana one" or "the tabu one"
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

  7. #7

    Re: What is the best choice for develop cross-platform interface

    An alternative to Java Swing might be QT by Trolltech.

    http://trolltech.com/products/qt

    This is cross-platform.

    Maybe it will handle some of the GUI stuff you want.

  8. #8
    Join Date
    Mar 2006
    Posts
    108

    Re: What is the best choice for develop cross-platform interface

    Thanks for all the advice, at the beginning, I wish to know that the more common used GUI toolkit for cross form interface designing, and by saying that, I think know what the first choice of most programmers.

  9. #9
    Join Date
    Aug 2007
    Location
    Birmingham, UK
    Posts
    360

    Re: What is the best choice for develop cross-platform interface

    I usually use wxWidgets for cross-platform GUI development. It is akin to GTK+ and QT, although I do not know much about these other two.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured