Cocotron: Cocoa for Windows?

Discussion in 'Mac Programming' started by cazlar, Dec 22, 2006.

  1. macrumors 6502

    Joined:
    Oct 2, 2003
    Location:
    Sydney, Australia
    #1
    Just saw this on Daring Fireball, an open-source project to run Cocoa apps on Windows. http://www.cocotron.org/

    Looks interesting, but I haven't had a chance to test it yet (I'm still running an old version of Xcode, so not sure if I need to upgrade first). It could be useful if you have a simple app that you want to port to Windows, although there are apparently still many missing parts.
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Definitely looks interesting. Although I downloaded the test .app and ran it in parallels but i guess you have to have something for it to understand .app folders (but the .exe in the Windows folder ran).
     
  3. macrumors 68040

    synth3tik

    Joined:
    Oct 11, 2006
    Location:
    Minneapolis, MN
    #3
    This could be very handy once I can figure it out.
     
  4. macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
    #4
    where do you download it. it has nothing in the google code downloads thing, so where/what do i download! i want to port tominated to winblows!
    EDIT: don't worry, i found it
     
  5. macrumors 68040

    trainguy77

    Joined:
    Nov 13, 2003
    #5
    I think its something to keep an eye on, however, it sounds like it does not work %100 yet.
     
  6. macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
  7. macrumors 68040

    mduser63

    Joined:
    Nov 9, 2004
    Location:
    Salt Lake City, UT
    #7
    Don't get your hopes up. It's still a pretty rudimentary implementation. Newer (like Mac OS X or later) stuff isn't supported. WebKit views are almost certainly unsupported, and I'm assuming Tominated uses a WebKit view. Really this has a ways to go before it's useful to a lot of people, but it's still interesting (and encouraging).

    The TextEditor example is Intel only, which is annoying. Runs fine on my Intel iMac, but (of course) doesn't work at all on my PowerBook. I wonder if they just forgot to compile it as Universal? They do say that Cocotron itself works on either PowerPC or Intel.
     
  8. macrumors 6502

    Joined:
    Apr 29, 2005
    Location:
    Hobart, Australia
    #8
    Does anyone know how this project relates to Gnustep? Is it trying to be the same thing only on windows or something different? In anycase very interesting.
     
  9. macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
    #9
    i read on the site somewhere that it has th same idea as that but for cocoa
     
  10. macrumors 68040

    mduser63

    Joined:
    Nov 9, 2004
    Location:
    Salt Lake City, UT
    #10
    It's worth noting that GNUStep really is a very similar idea, and it's "for Cocoa" too. Cocoa is essentially just a new name for the OpenStep APIs from the NextStep operating system. GNUStep is a free/open source implementation of OpenStep. Cocoa is for OS X, GNUStep is primarily for Linux, and Cocotron is primarily for Windows.
     
  11. macrumors 68000

    GeeYouEye

    Joined:
    Dec 9, 2001
    Location:
    State of Denial
    #11
    Decidedly interesting... Don't know how practical it is, but if you can get a basic Cocoa app running under Windows, that's really something, especially given how difficult it is to get GNUStep to work on Windows.

    I suspect Bindings, CoreData, etc. are a VERY long way off, especially as, to my knowledge, there is no published spec for either.
     
  12. CaS
    macrumors newbie

    Joined:
    Dec 23, 2006
    #12
    GNUstep has an installer for windows ... just click and go.
    But I think it's a bit out of date... not the very latest version of the code.
    Incidentally, the aim of GNUstep is to be a cross-platform implementation of the Cocoa API ... so it most definitely is for windows and is much more advanced than cocotron, but as the developers are from a UNIX/Linux background, the windows part is only improving slowly :(
     
  13. Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #13
    Looks like most 10.2 and earlier stuff will probs work OK with a bit of fixing. Anything that requires 10.3 or later (eg bindings, core data, HTML rendering (10.2.x+safari), XML or even NSIndex* (which sucks as NSIndexSet seem to be Apple's favored way recently - a lot of stuff is being deprecated in favor of methods returning index sets)) will be a complete PITA to get working.
     
  14. macrumors 68030

    slooksterPSV

    Joined:
    Apr 17, 2004
    Location:
    Nowheresville
    #14
    *drools* I love Bindings and CoreData, omg those are the best!
     

Share This Page