[Sparkle] Plan to support garbage collection?
Mark Munz
unmarked at gmail.com
Tue Feb 19 08:54:35 PST 2008
As I understand it, the dual-mode framework will only work on 10.5 or
later. But, you should be able to easily target earlier versions of
the OS with the same source.
I do not believe 10.4 has any official support for dual-mode
frameworks (there was some hint that the compiler support GC, but
that's it). There will likely need to be two targets and two resulting
frameworks:
10.5 and later framework (dual-mode)
10.4 and earlier framework (no-GC)
The source for the non-GC framework should transparently work in
building a 10.4 and earlier framework.
Mark Munz
On Feb 18, 2008 5:06 PM, Andy Matuschak <andy at andymatuschak.org> wrote:
> I had thought that a dual-mode framework could only be compiled for
> 10.5, but people on here have told me that it works for 10.4+. I don't
> really understand how that's possible, so I'm skeptical. It may or may
> not actually work. :)
>
> - Andy Matuschak
>
>
> On Feb 18, 2008, at 4:04 PM, Steven W Riggins wrote:
>
> > Isn't GC 10.5 only?
> >
> >
> > On Feb 18, 2008, at 3:58 PM, Andy Matuschak wrote:
> >
> >> Alright, so it sounds like there are two targets: one supporting
> >> 10.3+
> >> and not supporting GC and one supporting 10.4+ with GC support.
> >>
> >> I can think of a few places offhand where I rely on the retain count
> >> system for memory management and don't use strong links. For example,
> >> when I make an appcast, I just free it in the delegate callback
> >> method
> >> to avoid an extraneous ivar. Unfortunately, making the retain count
> >> operations no-ops will probably result in a few unexpected and hard-
> >> to-
> >> track-down bugs.
> >>
> >> I'll have to be vigilant! :)
> >>
> >> - Andy Matuschak
> >> _______________________________________________
> >> Sparkle mailing list
> >> Sparkle at lists.andymatuschak.org
> >> http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org
> >>
> >
> > _______________________________________________
> > Sparkle mailing list
> > Sparkle at lists.andymatuschak.org
> > http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org
>
> _______________________________________________
> Sparkle mailing list
> Sparkle at lists.andymatuschak.org
> http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org
>
--
Mark Munz
unmarked software
http://www.unmarked.com/
More information about the Sparkle
mailing list