Re: Swift JIT
Re: Swift JIT
- Subject: Re: Swift JIT
- From: Jens Alfke <email@hidden>
- Date: Wed, 04 Jun 2014 16:39:15 -0700
Based on the fact that it interoperates with C and ObjC the way it does, and describes its memory management as reference-counted, I'd guess it does not have a copying GC or other heap-compacting behaviors.
It’s using malloc, just like Objective-C and CF. It has to, in order to be compatible with them.
For the most part, you can think of Swift objects as being Objective-C objects. They’re allocated by malloc, they start with an ‘isa’ pointer that points to Obj-C compatible class data, etc. (I just got out of the very informative “Swift Interoperability” talk at WWDC. I highly recommend watching the video whenever it becomes available.)
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Swift JIT (From: Jonathan Mitchell <email@hidden>) |
| >Re: Swift JIT (From: Wim Lewis <email@hidden>) |