Inside SWT

Friday, November 09, 2007

Great-a-success!

Here is the ControlExample running under cocoa:



We started on Monday with nothing. Along the way, we hit an Objective-C compiler bug involving struct return types that caused a series of Apple trolls to visit us, each one expressing increasing disbelief. No problem though, I love these low level compiler guys. They are smart and fun.

But crashing didn't stopped us. We just typed in custom natives each time we hit the problem and kept going. Eclipse allowed us to develop rapidly, almost as fast as the old Smalltalk days. Objective-C has lots of good stuff from Smalltalk like real meta-classes (Java static methods are crap) and dynamic dispatch.

The week was an almost perfect example of prototyping. The code we have is utter crap and we have cut every corner, however, we have learned the technology and explored the area. Prototyping is about reducing risk using a short term, high energy, low quality approach to prove that a solution is possible and scope the time frame.

Steve

13 Comments:

  • Cool :-)

    By Blogger AlBlue, at 6:01 PM  

  • Awesome Steve!

    By Blogger pookzilla, at 7:45 AM  

  • Fantastic! Steve, you rock!

    By Anonymous Anonymous, at 7:47 AM  

  • And is it running on the Awesomely powerful G4 Laptop I lent you since IBM was to f***ing cheap to get you a laptop?

    By Blogger Ken Walker, at 12:53 PM  

  • Yup, it is.

    By Blogger Steve, at 10:11 AM  

  • Was it like that one time, on J#? Hopefully less painful... :)

    By Blogger Masha, at 11:58 PM  

  • This is great news! Is there any place where one can follow the process (CVS, Mailing list, Bugzilla)? Can't wait to play around with it...

    Keep up the great work!

    By Anonymous Anonymous, at 4:37 AM  

  • I honestly intended for the J# stuff to get in but I failed. It was very cool.

    By Blogger Steve, at 7:56 AM  

  • It's great news that SWT will be ported to cocoa! Fantastic job!

    Because I am very snoopy, I tried it out by myself. I failed because I've only os x 10.4.

    Are there any plans to get it work on 10.4? If not, I have to buy a new os :-(

    By Blogger Benedikt Arnold, at 2:31 PM  

  • First it needs to work on 10.5.

    Steve

    By Blogger Steve, at 8:37 AM  

  • Nice hack. Well done!!

    By Anonymous Anonymous, at 7:56 PM  

  • How is progress about 3/4 Year later?

    By Anonymous Anonymous, at 2:12 PM  

  • Getting there. We were unable to work on it much because of 3.4. I'm working to get it on to the 3.5 plan.

    Steve

    By Blogger Steve, at 2:21 PM  

Post a Comment

<< Home