John,

A decision to keep backwards compatibility is not as simple as keeping
the current code existing. What's there now is actually subtly broken.
Most significantly, it doesn't work with categories at all. The design
works like this: a class is queried to provide a list of methods, and
those methods have their signatures read (method signatures determine
not just the arity but also the types of arguments, which might not
all be id) and method stubs are made. I'm redesigning it to not load
classes in that way, rather to look up the methods based on their
usage in Factor code, but I have to use different introspective
techniques. For that, I can either use the ObjC 1.0 or 2.0 API;
they're mutually incompatible. It makes sense to use ObjC 2.0 just
because it's the only one Apple has implemented on 64-bit processors.
The ObjC 2.0 API is just plain better in a bunch of ways. It means,
for one, that we won't have to rely on undocumented implementation
details to read the return type of a method. Maintaining backwards
compatibility will take a little work, but if it'll get used then I'll
make it an eventual goal of mine. I originally said it wouldn't be
backwards compatible because, among all Mac developers I know, the
consensus was that it wasn't necessary.

Of course, I don't know when I'll have much free time to do all
this... it's not extremely high on my priority list, since the main
problems with the current system surface infrequently (we can't do
macosx-x86-64 with the UI, and categories are broken). Hopefully
within a year, though.

Dan

On Sun, Apr 13, 2008 at 6:30 PM, John Pallister <[EMAIL PROTECTED]> wrote:
>  Yes, but an application developer choosing to limit her
>  market by relying on a particular new API for a specific
>  product is one thing; if Factor only runs on Leopard, that
>  would seem to limit the developer's options before she even
>  starts.
>
>  But you're right, I was thinking of Vista when I wrote my
>  message; I shouldn't tar Leopard with that particular brush.
>
>  Anyway, I don't want to belabour the point any further.
>
>  Although it did occur to me that this concern for the
>  adequacy of aging hardware could be related to the fact that
>  I turn 37 next month. ;)
>
>
>  > For now there's no reason not to support Tiger, so let's fix the bug.
>  > :)  For the long term, it looks like you can get about $200 for the
>  > Pismo on ebay, and put it toward a shiny new MacBook!
>
>  Oh, my next laptop will definitely be a MacBook Pro...
>
>  Cheers,
>
>  John :^P
>
> --
>  John Pallister
>  [EMAIL PROTECTED]
>
>
>  -------------------------------------------------------------------------
>
>
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  Factor-talk mailing list
>  [email protected]
>  https://lists.sourceforge.net/lists/listinfo/factor-talk
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to