Object-oriented units of measurement

E Allen, D Chase, V Luchangco, JW Maessen… - Proceedings of the 19th …, 2004 - dl.acm.org
Programs that manipulate physical quantities typically represent these quantities as raw
numbers corresponding to the quantities' measurements in particular units (eg, a length …

[PDF][PDF] On decidability of nominal subty** with variance

AJ Kennedy, BC Pierce - FOOL/WOOD, 2007 - Citeseer
We investigate the algorithmics of subty** in the presence of nominal inheritance and
variance for generic types, as found in Java 5, Scala 2.0, and the .NET 2.0 Intermediate …

Towards practical gradual ty**

A Takikawa, D Feltey, E Dean, M Flatt… - … on Object-Oriented …, 2015 - drops.dagstuhl.de
Over the past 20 years, programmers have embraced dynamically-typed programming
languages. By now, they have also come to realize that programs in these languages lack …

Converting Java programs to use generic libraries

A Donovan, A Kiežun, MS Tschantz… - Proceedings of the 19th …, 2004 - dl.acm.org
Java 1.5 will include a type system (called JSR-14) that supports parametric polymorphism,
or generic classes. This will bring many benefits to Java programmers, not least because …

Miniboxing: improving the speed to code size tradeoff in parametric polymorphism translations

V Ureche, C Talau, M Odersky - Proceedings of the 2013 ACM SIGPLAN …, 2013 - dl.acm.org
Parametric polymorphism enables code reuse and type safety. Underneath the uniform
interface exposed to programmers, however, its low level implementation has to cope with …

A rewriting logic approach to static checking of units of measurement in C

M Hills, F Chen, G Roşu - Electronic Notes in Theoretical Computer Science, 2012 - Elsevier
Many C programs assume the use of implicit domain-specific information. A common
example is units of measurement, where values can have both a standard C type and an …

Looj: Weaving loom into java

KB Bruce, JN Foster - European Conference on Object-Oriented …, 2004 - Springer
LOOJ is an extension of Java obtained by adding bounded parametric polymorphism and
new type expressions ThisClass and ThisType, which are similar to MyType in LOOM …

Morphing: Safely sha** a class in the image of others

SS Huang, D Zook, Y Smaragdakis - … , Berlin, Germany, July 30-August 3 …, 2007 - Springer
We present MJ: a language for specifying general classes whose members are produced by
iterating over members of other classes. We call this technique “class morphing” or just …

Expressive and safe static reflection with MorphJ

SS Huang, Y Smaragdakis - ACM SIGPLAN Notices, 2008 - dl.acm.org
Recently, language extensions have been proposed for Java and C# to support pattern-
based reflective declaration. These extensions introduce a disciplined form of meta …

Morphing: Structurally sha** a class by reflecting on others

SS Huang, Y Smaragdakis - ACM Transactions on Programming …, 2011 - dl.acm.org
We present MorphJ: a language for specifying general classes whose members are
produced by iterating over members of other classes. We call this technique “class …