4 ms·
I think this is done at compile time, so it wouldn't be considered garbage collection.
by jcnnghm 15y ago
I think this is done at compile time, so it wouldn't be considered garbage collection.
- themgt 15y agoThe compiler is LLVM though, "By enabling ARC with the new Apple LLVM compiler", which begins to blur the difference
- jcnnghm 15y agoI don't think that makes much difference, as long as it's performed at compile time.
- ori_b 15y agoLLVM is being used as a static compiler. There is no LLVM virtual machine - the compiler emits native machine code.
- themgt 15y agoMacRuby does support AOT compilation, although I don't think it's a very production-ready feature yet and would likely be incompatible with a fair percent of existing ruby code
- chc 15y agoThis isn't in MacRuby — it's in Objective-C. And it's explicitly distinct from garbage collection. This is an alternative to garbage collection that has generally been considered kind of impractical. (And MacRuby's AOT compilation works pretty well from what I've seen.)