摘要: Grand Central Dispatch (GCD) is a technology developed by Apple Inc. to optimize application support for systems with multi-core processors and other  阅读全文
posted @ 2018-01-18 23:51 zzfx 阅读(209) 评论(0) 推荐(0)
摘要: POSIX Threads, usually referred to as pthreads, is an execution model that exists independently from a language, as well as a parallel execution model 阅读全文
posted @ 2018-01-18 23:49 zzfx 阅读(202) 评论(0) 推荐(0)
摘要: In computer programming, event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user acti 阅读全文
posted @ 2018-01-18 23:47 zzfx 阅读(371) 评论(0) 推荐(0)
摘要: 操作方式、含义、存储方式。 In computer science and computer programming, a data type or simply type is a classification of data which tells the compiler or interpr 阅读全文
posted @ 2018-01-18 21:58 zzfx 阅读(916) 评论(0) 推荐(0)
摘要: 以前本站发布过《编程语言时间地理图》、《计算机编程简史图》,下面是两张关于编程语言的进化图。 第一张是比较宏观的,来源在这里,虽然是去年的,但还是比较不错的,其把计算机编程语言分成了五个时代—— 语言诞生。1940年代。第一个语言应该是:Ada Lovelace, 编译器时代。1950年代。这个时代 阅读全文
posted @ 2018-01-18 17:04 zzfx 阅读(326) 评论(0) 推荐(0)
摘要: Type system[edit] Main articles: Data type, Type system, and Type safety A type system defines how a programming language classifies values and expres 阅读全文
posted @ 2018-01-18 15:54 zzfx 阅读(319) 评论(0) 推荐(0)
摘要: In computer programming, run-time type information or run-time type identification (RTTI)[1] refers to a C++ mechanism that exposes information about 阅读全文
posted @ 2018-01-18 15:46 zzfx 阅读(371) 评论(0) 推荐(0)
摘要: 类型系统的属性: 1、结构属性; 2、规则属性;类型系统定义了一套规则(内部数据的访问规则、函数的访问规则、类型的比较与转化规则),以供编译和运行时进行检查。 In programming languages, a type system is a set of rules that assigns 阅读全文
posted @ 2018-01-18 15:38 zzfx 阅读(274) 评论(0) 推荐(0)
摘要: 动态改变运行时结构 Dynamic programming language, in computer science, is a class of high-level programming languages which, at runtime, execute many common pro 阅读全文
posted @ 2018-01-18 15:12 zzfx 阅读(261) 评论(0) 推荐(0)
摘要: 动态语言:修改结构; 动态类型:运行时类型检查; 编译语言:机器码、解释器; 强类型:类型不可变。 编译型语言和解释型语言 1、编译型语言 需通过编译器(compiler)将源代码编译成机器码,之后才能执行的语言。一般需经过编译(compile)、链接(linker)这两个步骤。编译是把源代码编译成 阅读全文
posted @ 2018-01-18 15:06 zzfx 阅读(623) 评论(0) 推荐(0)
摘要: this 和 self指针 为函数提供了运行上下问;为函数提供了当前对象的其实地址,方便函数的对对象的访问。 阅读全文
posted @ 2018-01-18 12:49 zzfx 阅读(121) 评论(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-01-18 12:40 zzfx 阅读(311) 评论(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 阅读(163) 评论(0) 推荐(0)