1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I want to develop an application that runs on Mac and Windows - which platform?

Discussion in 'BlackHat Lounge' started by tony-raymondo, Oct 2, 2011.

  1. tony-raymondo

    tony-raymondo Junior Member

    Joined:
    Jun 19, 2009
    Messages:
    181
    Likes Received:
    459
    I have a small-ish database application in my head.

    I need to deploy it on mac and windows

    What "developer environment" should I use to do this?

    Should I go the Market Samurai route? I think they used Adobe AIR
     
  2. Mojo1

    Mojo1 Registered Member

    Joined:
    Jul 18, 2011
    Messages:
    61
    Likes Received:
    34
    Home Page:
    Java ;)

    Although you could dive in to the C family as well, but there are differences in the way the code is implemented in windows and mac, java however is exactly the same.

    As for the development environment, I suggest using BlueJ since your starting to learn how to use it, and believe me it will take some time for you to learn what you need to do, my advice is starting a simply project and building a calculator first, this should give you the very basics of programming
     
    • Thanks Thanks x 1
  3. tony-raymondo

    tony-raymondo Junior Member

    Joined:
    Jun 19, 2009
    Messages:
    181
    Likes Received:
    459
    well i already know how to program

    i'm looking for the best compiler 'developer environment'
     
  4. len2503

    len2503 Junior Member

    Joined:
    Oct 15, 2009
    Messages:
    199
    Likes Received:
    3,452
    Location:
    192.168.2.1
    I would go to AIR. Eminently portable
     
    • Thanks Thanks x 1
  5. andriyleu

    andriyleu Newbie

    Joined:
    Jul 21, 2011
    Messages:
    40
    Likes Received:
    10
    I would go Python!
     
    • Thanks Thanks x 1
  6. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,468
    Likes Received:
    10,143
    • Thanks Thanks x 2
  7. moundown

    moundown BANNED BANNED

    Joined:
    Jun 24, 2010
    Messages:
    118
    Likes Received:
    32
    Grab Lazarus. it's the perfect tool for cross-platform developers. Powerful as C++, easy as VB

    Code:
    http://en.wikipedia.org/wiki/Lazarus_%28IDE%29
     
    • Thanks Thanks x 1
  8. server255

    server255 Junior Member

    Joined:
    Dec 30, 2009
    Messages:
    157
    Likes Received:
    92
    Location:
    In a data center
    yes, MS is made with Adobe AIR. I'm not a huge fan of Java, the performance is often sub-par :rolleyes: So I'd suggest AIR if it works out with the database needs of that platform.
     
    • Thanks Thanks x 1
  9. scheda

    scheda Regular Member

    Joined:
    May 4, 2010
    Messages:
    228
    Likes Received:
    61
    Adobe AIR is my favorite cross platform system. I exclusively develop for that in Flex, so check that out.
     
    • Thanks Thanks x 1
  10. theadultsplayground

    theadultsplayground BANNED BANNED

    Joined:
    Jan 24, 2008
    Messages:
    1,202
    Likes Received:
    336
    I would also go with Adobe Air.
     
    • Thanks Thanks x 1
  11. tony-raymondo

    tony-raymondo Junior Member

    Joined:
    Jun 19, 2009
    Messages:
    181
    Likes Received:
    459
    thanks

    the only problem with AIR is it seems so slow

    for example, when you have a database with > 1000 rows, I seem to see a big speed lag - e.g. in Market Samurai...
     
  12. zero-day

    zero-day Regular Member

    Joined:
    Aug 25, 2011
    Messages:
    349
    Likes Received:
    344
    Occupation:
    Coder
    Location:
    My Office.
    Home Page:
    I would go with BloodShed Dev C++ compiler if you know C++ it's not the "user friendly" version, doesn't tell you 'how to use it' like some other compilers do. Also it's 100% free. I've been using it for years.

    BloodShed Dev C++
    Code:
    http://www.bloodshed.net/download.html
    I'd only recommend it, if your pretty fond of C++
     
    • Thanks Thanks x 1
  13. tony-raymondo

    tony-raymondo Junior Member

    Joined:
    Jun 19, 2009
    Messages:
    181
    Likes Received:
    459
    Can someone tell me how i would get started developing a database application for AIR?

    In the past i only programmed with Delphi using an ms Access database...

    :rolleyes:
     
  14. moundown

    moundown BANNED BANNED

    Joined:
    Jun 24, 2010
    Messages:
    118
    Likes Received:
    32
    If you have used Delphi before, why dont you use Lazarus, which is a cross-platform Delphi?
     
    • Thanks Thanks x 1
  15. tony-raymondo

    tony-raymondo Junior Member

    Joined:
    Jun 19, 2009
    Messages:
    181
    Likes Received:
    459
    ok i had a second look at lazarus

    it seems pretty cool

    plus its free...

    hmm....

    plus, i'm really familiar with delphi so... looks like not a big learning curve.

    so this lazarus... i can deploy apps to the mac pretty easy eh?
     
  16. jammie

    jammie Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 24, 2008
    Messages:
    773
    Likes Received:
    453
    Stick to C++. just check your imports, if its a mac import mac libraries and if windows, import windows libraries. Extension to *NIX is easy enough too.

    I'd stay away from python and AIR purely for speed reasons. Python is over 70 times slower than java, so if you're doing database work and processing, it'll take hours.

    Java is another viable option if the systems have it preinstalled. It's ran under a virtual machine so speed isn't perfect (~70% of C++) but its much easier (well for me personally) and quicker to program and build with.

    Just depends on your style, but if your straying away from Java/C++, you've been warned!
     
    • Thanks Thanks x 1
  17. moundown

    moundown BANNED BANNED

    Joined:
    Jun 24, 2010
    Messages:
    118
    Likes Received:
    32
    Yes you can delpoy to MAC easily ... mac and linux :)
     
  18. scraper1

    scraper1 Regular Member

    Joined:
    May 28, 2011
    Messages:
    214
    Likes Received:
    207
    Location:
    Kontiki
    Home Page:
    You can try out Qt. It's cross platform and you can do awesome GUI apps with it.
     
    • Thanks Thanks x 1
  19. coolingheater

    coolingheater Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 18, 2010
    Messages:
    793
    Likes Received:
    55
    move to Jn.VIP..
    i smell some one is going to get rich lol.
     
    • Thanks Thanks x 1
  20. tony-raymondo

    tony-raymondo Junior Member

    Joined:
    Jun 19, 2009
    Messages:
    181
    Likes Received:
    459
    I've thought about it a bit more.

    I basically want to create a database application that merely displays (and writes to) a MS ACCESS .MDB file.

    But I want this application to run on both mac and PC.

    So I guess a better question to ask is:

    "Which cross-platform development environment should i use that would allow me to easily develop an application that allowed for the writing and displaying of .mdb file data--on mac and PC?"


    Thanks a bunch!
     
    Last edited: Oct 5, 2011