• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cross-platform toolkit with a Cocoa backend
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-platform toolkit with a Cocoa backend


  • Subject: Re: Cross-platform toolkit with a Cocoa backend
  • From: Ofri Wolfus <email@hidden>
  • Date: Thu, 12 Jul 2007 00:44:25 +0300

I have to disagree here. If you can call C functions from Pascal you can easily call objc_msgSend() and wrap it in your own pascal API. Of course it'll be much less powerful than ObjC but I see no reason why it can't be done. After all, ObjC can be implemented purely in a preprocessor, and you can do by hand what the preprocessor would do for you. I'm not saying it's fun, nor that it's the right way to go, but just noting it's possible ;)

Cheers,
- Ofri

- - - - - - - - - - - - - - - - - - -
http://www.dpompa.com
- - - - - - - - - - - - - - - - - - -


On 10/07/2007, at 20:06, Sherm Pendley wrote:

On Jul 10, 2007, at 7:42 AM, Dr. Rolf Jansen wrote:

Rumours are that FreePascal can already access data and methods of Cocoa objects and it seems that some are thinking loud about enhancing the Pascal language specification for directly supporting Objective-C constructs.

This, IMHO, is what would be needed to support Cocoa from FP. Pascal method calls are static, bound at compile time. But the Cocoa world revolves around dynamic messages that are resolved at run time - Pascal would need a new message-sending syntax for the same reason that C needed one.


Without extending the Pascal language to support dynamic messaging, FP would be a far better match for a static toolkit like Carbon.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Cross-platform toolkit with a Cocoa backend
      • From: "Felipe Monteiro de Carvalho" <email@hidden>
References: 
 >Cross-platform toolkit with a Cocoa backend (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Cross-platform toolkit with a Cocoa backend (From: j o a r <email@hidden>)
 >Re: Cross-platform toolkit with a Cocoa backend (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Cross-platform toolkit with a Cocoa backend (From: "Dr. Rolf Jansen" <email@hidden>)
 >Re: Cross-platform toolkit with a Cocoa backend (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Tracking the amount of inbound/outbound network traffic
  • Next by Date: Looking for cropping example
  • Previous by thread: Re: Cross-platform toolkit with a Cocoa backend
  • Next by thread: Re: Cross-platform toolkit with a Cocoa backend
  • Index(es):
    • Date
    • Thread