Results 1 to 5 of 5
  1. #1
    cross-platform application

    Member Since
    Oct 10, 2011
    Posts
    2
    cross-platform application
    Greetings,

    new to the forum and to programming on Mac. I'm trying to figure out what language I should use to create a small application (a sizing calculator for garments) that will work in Windows and OsX. I'm pretty decent with Java and use a program called Autohotkey a lot for PC. Unfortunately Autohotkey doesn't work with Mac.
    Does anybody have any suggestions on what language would be favorable to use so I would only have to write the script once?

    Thanks for the advice,

    Chris

  2. #2
    cross-platform application
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    You have quite a few options. You can use one of the "big" scripting languages (Ruby, Perl, Python) and one of the various toolkits if you need cross platform support. You can also use .NET - there is the official runtime for Windows and Mono for the Mac. And, of course, there's Java.

    If it's just a calculator, you could also make a webpage and use JS to do the calculations.

    Is this going to be a UI or is this command line based? Do you plan to distribute it to others?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3
    cross-platform application

    Member Since
    Oct 10, 2011
    Posts
    2
    vansmith,

    thank you for your reply!
    The program is going to be a GUI where people can choose from different measurements and then the script will calculate their appropriate clothing size (Small, Medium....). I'm planning on distributing it and also make a version available on our website.
    I thought about using Java since I have the most experience with it, but don't know if it will work on both OSs, meaning whether I need to be looking out for certain things to make it work.
    If it would be of any help I can post some of the autohotkey code.

    Cheers,

    Chris

  4. #4
    cross-platform application
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Java will wrk fine across both platforms - it is fully supported by Windows and OS X (not to mention Linux as well). If you're familiar with it, stick with it since it can be easily packaged into a jar file for distribution.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5
    cross-platform application
    Mark FX's Avatar
    Member Since
    Aug 13, 2011
    Location
    West Sussex, UK
    Posts
    180
    Another option to consider would be Real Basic, it is a cross platform language as is fairly easy to learn, although it is different to java.

    Real Software: Programming language, Web Development, Software Development Tool

    Like vansmith said, if you no Java you might as well stick with it.

    Regards Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. cross-platform playlists?
    By SilverBlade in forum Music, Audio, and Podcasting
    Replies: 0
    Last Post: 02-02-2011, 01:52 AM
  2. embed album artwork within mp3 files (cross app, cross platform)?
    By eric in forum Music, Audio, and Podcasting
    Replies: 0
    Last Post: 10-10-2008, 10:17 PM
  3. Cross Platform
    By hal515 in forum OS X - Apps and Games
    Replies: 2
    Last Post: 01-04-2008, 08:19 AM
  4. Cross Platform Menus
    By pmcewan in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 04-18-2007, 09:35 AM
  5. Cross-platform voiceover
    By Mikhail in forum OS X - Apps and Games
    Replies: 5
    Last Post: 06-13-2006, 06:43 AM

Posting Permissions

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