随笔分类 -  运行时

摘要:反射与内省: 类型系统的特征: 反射用于获取类型信息; 内省用语运行时类型检查; 阅读全文
posted @ 2019-04-05 11:14 zzfx 阅读(203) 评论(0) 推荐(0) 编辑
摘要:运行时与动态是一个密切相关的概念: 动态加载; 动态类型识别; 动态派发; 内存管理; In the object-oriented programming languages, the runtime system was often also responsible for dynamic ty 阅读全文
posted @ 2018-09-20 11:06 zzfx 阅读(154) 评论(0) 推荐(0) 编辑
摘要:Normally, in a typed language, the dispatch mechanism will be performed based on the type of the arguments (most commonly based on the type of the rec 阅读全文
posted @ 2018-09-19 12:14 zzfx 阅读(290) 评论(0) 推荐(0) 编辑
摘要:Swift Method Dispatching When announcing Swift, Apple described it as being much faster than Objective-C. On the web, there is a number of comparsions 阅读全文
posted @ 2018-06-15 15:18 zzfx 阅读(200) 评论(0) 推荐(0) 编辑
摘要:Late binding, or dynamic binding,[1] is a computer programming mechanism in which the method being called upon an object or the function being called 阅读全文
posted @ 2018-01-18 12:38 zzfx 阅读(146) 评论(0) 推荐(0) 编辑
摘要:绑定:建立联系; 分发:作出选择。 https://en.wikipedia.org/wiki/Dynamic_dispatch https://en.wikipedia.org/wiki/Late_binding Dynamic dispatch is different from late bi 阅读全文
posted @ 2018-01-17 21:43 zzfx 阅读(181) 评论(0) 推荐(0) 编辑