On Thu, Jan 26, 2012 at 4:27 PM, Matthias Benkard <mulkiat...@gmail.com> wrote:
> Am 25.01.12 15:43, schrieb D.Theisen:
>> How did you handle the reference counting vs. Garbage Collection
>> chasm?
>
> I punted on it.  GNUstep already had GC support at the time, and it
> was upcoming on Mac OS X.  I didn't foresee the restrictions imposed
> by iOS. :)
>
> I did consider integrating Boehm GC into the Lisp part of the system.
> My assessment was that it would be pretty easy to have it operate on
> top of the reference counting that the Cocoa framework does.  The only
> problem it couldn't solve automatically would be circular references
> created by Objective-C code, but I see no way of avoiding those in any
> case.
>
> In effect, what Toilet Lisp does is automatic reference counting.  I
> hear that Apple now recommends something similar when writing
> Objective-C code, except that their approach is significantly more
> configurable.

One thing that must help there is that the functional nature of
Clojure makes it pretty rare for Clojure code to produce a true
reference circularity.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to