首页> 外文期刊>Dyna >ATTAINING MULTIPLE DISPATCH IN WIDESPREAD OBJECT-ORIENTED LANGUAGES
【24h】

ATTAINING MULTIPLE DISPATCH IN WIDESPREAD OBJECT-ORIENTED LANGUAGES

机译:在面向对象的广泛语言中进行多次分配

获取原文
           

摘要

Multiple dispatch allows determining the actual method to be executed, depending on the dynamic types of its arguments. Although some programming languages provide multiple dispatch, most widespread object-oriented languages lack this feature. Therefore, different implementation techniques are commonly used to obtain multiple dispatch in these languages. We evaluate the existing approaches, presenting a new one based on hybrid dynamic and static typing. A qualitative evaluation is presented, considering factors such as software maintainability and readability, code size, parameter generalization, and compile-time type checking. We also perform a quantitative assessment of runtime performance and memory consumption.
机译:多重分派允许根据其参数的动态类型来确定要执行的实际方法。尽管某些编程语言提供了多种调度方式,但大多数面向对象的语言都缺少此功能。因此,通常使用不同的实现技术来获得这些语言的多重调度。我们评估了现有方法,提出了一种基于动态和静态混合类型的新方法。提出了定性评估,其中考虑了诸如软件可维护性和可读性,代码大小,参数泛化和编译时类型检查之类的因素。我们还对运行时性能和内存消耗进行定量评估。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号