首页> 外文会议>Conference on object-oriented programming, systems, languages, and applications >Parametric Polymorphism in Java: an Approach to Translation Based on Reflective Features
【24h】

Parametric Polymorphism in Java: an Approach to Translation Based on Reflective Features

机译:Java中的参数多态性:基于反射特征的翻译方法

获取原文

摘要

The introduction of parametric polymorphism in Java with translation approaches has been shown to be of considerable interest, allowing the definition of extensions of Java on top of the existing Virtual Machines. Homogeneous translations furthermore, seem to be more useful than hetero-geneous, avoiding the continuous increase of library code with redundant information. At this time however, homogeneous approaches aren't as flexible as heterogeneous, with extensions failing to integrate well with base language typing. In this paper, using some of the features of the Core Reflection of Java, we introduce a homogeneous translation in which run-time information about instantiation of type-parameters is carried, allowing full integration of parameterized types with Java typing. Performance overhead is greatly decreased using a brand new translation technique based on the deferring of the management of type information at load-time. The same power and flexibility of previous heterogeneous approaches is obtained while maintaining homogeneous translation advantages.
机译:在Java中引入具有翻译方法的Java中的参数多态性具有相当大的兴趣,允许在现有虚拟机顶部定义Java的扩展。此外,均匀的翻译,似乎比异质族更有用,避免使用冗余信息的图书馆代码的连续增加。然而,此时,同质的方法并不像异构一样灵活,扩展未能与基本语言打字相结合。在本文中,使用Java的核心反射的一些特征,我们介绍了一个同质翻译,其中携带有关类型参数的实例化的运行时间信息,允许使用Java键入完全集成参数化类型。使用基于延迟加载时间的类型信息管理的全新翻译技术,性能开销大大降低。获得了先前异构方法的相同功率和灵活性,同时保持均匀的翻译优点。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号