我在哪里可以找到解释 Objective-C 是如何实现的文档 [英] Where can i find a document explaining how Objective-C is implemented
本文介绍了我在哪里可以找到解释 Objective-C 是如何实现的文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的意思是基本的运行时.如何实现方法分派(通过选择器哈希表?).究竟什么是选择器?对象模型如何,因为您可以稍后使用一些低级 API 等添加方法.
I mean the fundamental runtime. How is method dispatching implemented (via a selector hashtable?). What is a selector anyway? How is the object model as you can add methods later with some low level API etc.
我需要从编译器编程的角度来看待它,而不是语言的简单用户.
I need to look at it from a compiler programming point of view, not a simple user of the language.
推荐答案
这里有一些文档可以帮助您入门(应该可以帮助您在 google 上搜索正确的问题):
Here's a few docs to get you started (should help you google the right questions):
- http://www.mulle-kybernetik.com/artikel/Optimization/opti-9.html
- http://developer.apple.com/documentation/Cocoa/Reference/ObjCRuntimeRef/index.html
这篇关于我在哪里可以找到解释 Objective-C 是如何实现的文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文