arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Nicholas Cameron

18 papers · 2006–2022

2006: 12007: 12008: 12009: 32010: 52011: 22012: 22013: 12014: 12015: 02016: 02017: 02018: 02019: 02020: 02021: 02022: 1
2006peak 5 in 20102022

Frequent co-authors

Papers

showing 1–18 of 18 RSS

Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models

Aarohi Srivastava, Abhinav Rastogi, Abhishek Rao +448 more

cs.CL · · cited 2,670× · arXiv ↗ · more like this ·

Language models demonstrate both quantitative improvement and new qualitative capabilities with increasing scale. Despite their potentially transformative impact, these new capabilities are as yet poorly characterized. In order to inform future research, prepare for disruptive new model capabilities, and ameliorate socially harmful effects, it is vital that we understand the present and near-future capabilities and limitations of language models. To address this challenge, we introduce the Beyond the Imitation Game benchmark (BIG-bench). BIG-bench currently consists of 204 tasks, contributed by 450 authors across 132 institutions. Task topics are diverse, drawing problems from linguistics, childhood development, math, common-sense reasoning, biology, physics, social bias, software development, and beyond. BIG-bench focuses on tasks that are believed to be beyond the capabilities of…

Multiple ownership

Nicholas Cameron, Sophia Drossopoulou, James Noble +1 more

Artificial Intelligence · · cited 74× · DOI ↗ · more like this ·

Existing ownership type systems require objects to have precisely one primary owner, organizing the heap into an ownership tree. Unfortunately, a tree structure is too restrictive for many programs, and prevents many common design patterns where multiple objects interact.

Encoding Featherweight Java with assignment and immutability using the Coq proof assistant

Julian Mackay, Hannes Mehnert, Alex Potanin +2 more

Artificial Intelligence · IT University Of Copenhagen (IT University of Copenhagen) · · cited 25× · DOI ↗ · more like this ·

We develop a mechanized proof of Featherweight Java with Assignment and Immutability in the Coq proof assistant. This is a step towards more machine-checked proofs of a non-trivial type system. We used object immutability close to that of IGJ [9]. We describe the challenges of the mechanisation and the encoding we used inside of Coq.

Tribal ownership

Nicholas Cameron, James Noble, Tobias Wrigstad

Artificial Intelligence · · cited 21× · DOI ↗ · more like this ·

Tribal Ownership unifies class nesting and object ownership. Tribal Ownership is based on Tribe, a language with nested classes and object families. In Tribal Ownership, a program's runtime object ownership structure is characterised by the lexical nesting structure of its classes.We build on a variant of Tribe to present a descriptive ownership system, using object nesting to describe heap partitions, but without imposing any restrictions on programming disciplines. We then demonstrate how a range of different prescriptive ownership policies can be supported on top of the descriptive Tribal Ownership mechanism; including a novel owners-as-local-dominators policy. We formalise our type system and prove soundness and several ownership invariants. The resulting system requires strikingly few annotations, and uses well-understood encapsulation techniques to create ownership systems that…

GoHotDraw

Frank Schmager, Nicholas Cameron, James Noble

Information Systems · Evaluation and Usability of Programming Languages and Tools · · cited 19× · DOI ↗ · more like this ·

Go, a new programming language backed by Google, has the potential for widespread use: it deserves an evaluation. Design patterns are records of idiomatic programming practice and inform programmers about good program design. In this study, we evaluate Go by implementing design patterns, and porting the "pattern-dense" drawing framework HotDraw into Go, producing GoHotDraw. We show how Go's language features affect the implementation of Design Patterns, identify some potential Go programming patterns, and demonstrate how studying design patterns can contribute to the evaluation of a programming language.

On subtyping, wildcards, and existential types

Nicholas Cameron, Sophia Drossopoulou

Artificial Intelligence · · cited 17× · DOI ↗ · more like this ·

Wildcards are an often confusing part of the Java type system: the behaviour of wildcard types is not fully specified by subtyping, due to wildcard capture, and the rules for type checking are often misunderstood. Their very formulation seems somehow 'different' from the rest of the Java type system, which is based on a simple, nominal hierarchy.

Towards a semantic model for Java wildcards

Alexander J. Summers, Nicholas Cameron, Mariangiola Dezani-Ciancaglini +1 more

Artificial Intelligence · Institutional Research Information System University of Turin (University of Turin) · · cited 8× · DOI ↗ · more like this ·

Wildcard types enrich the types expressible in Java, and extend the set of typeable Java programs. Syntactic models and proofs of soundness for type systems related to Java wildcards have been suggested in the past, however, the semantics of wildcards has not yet been studied.

A State Abstraction for Coordination in Java-like Languages

Ferruccio Damiani, Elena Giachino, Paola Giannini +2 more

Artificial Intelligence · Institutional Research Information System University of Turin (University of Turin) · · cited 8× · OpenAlex ↗ · more like this ·

Abstract. Objects ’ state, intended as some abstraction over the value of fields, is always in the mind of a COOL (Concurrent Object-Oriented Language) programmer. In fact, as the state of an object changes so does its coordination behaviour. We introduce a language feature for expressing the notion of state in Java-like languages. The proposed feature takes the form of state class, a new kind of class, equipped with a static type and effect system guaranteeing that during the execution of a method on a receiver o: (1) Even though the state of o may vary through states with different parameters, no attempt will be made to access non-existing parameters, and (2) No method invoked on a receiver different from this may cause (through method calls on o) a change in the state of o. 1

Mojojojo — More Ownership for Multiple Owners

Paley Li, Nicholas Cameron, James Noble

Artificial Intelligence · · cited 7× · OpenAlex ↗ · more like this ·

Traditional ownership types organise the heap into a tree. Ownership types can support memory management, real-time systems, concurrency, parallelism, and general purpose reasoning about programs. Trees, however, are too restrictive to describe many real programs, limiting the usability of conventional ownership systems. Multiple ownership organises the heap into a directed acyclic graph, rather than a tree. MOJO was the first language to support multiple ownership; it featured multiple owners per object, ownerwildcards, an effect system, and a simple ‘owners as sets’ model. In this paper, we introduce Mojojojo, a successor to MOJO. Mojojojo is both simpler and more powerful than MOJO: supporting generics and existential types (which allows for more re-usable classes); a more expressive system of constraints for specifying topology, which are closely tied to the simple set-theoretic…

Cloning in ownership

Paley Li, Nicholas Cameron, James Noble

Artificial Intelligence · · cited 6× · DOI ↗ · more like this ·

Cloning is an essential feature in many object-oriented programs. Unfortunately, existing techniques generally copy too little or too much. We present an object cloning technique that uses the object structure enforced by ownership types to produce the clones.

Comparing universes and existential ownership types

Nicholas Cameron, Werner Dietl

Artificial Intelligence · · cited 6× · DOI ↗ · more like this ·

Ownership types and Universe types are two type systems used to structure the heap and enforce encapsulation disciplines. The parametricity of ownership types allows a finergrained description of heap topologies, whereas the flexibility of any references in Universe types allows sharing between data structures. No direct encoding of one type system in the other has been possible. Parametric ownership has recently been extended with existential quantification of contexts. We formalise such a language and give a formal translation between programs written in this language and using Universe types. We show that this translation is sound and complete. 1.

OGJ gone wild

Nicholas Cameron, James Noble

Artificial Intelligence · · cited 5× · DOI ↗ · more like this ·

Ownership types structure the heap, and can enforce encapsulation properties which improve security, provide more information for the programmer, and allow for better reasoning about programs. Ownership Generic Java (OGJ) implements ownership types using Java generics and some additional type checking. This allows the programmer to use generics and ownership types in the same programs with little addtional syntactic overhead.We combine Java wildcards (represented formally as existential types) with OGJ to enforce an ownership topology using only features of the Java type system. We demonstrate how the owners-as-dominators encapsulation property can be enforced by a minimal addition to the well-formedness rules for types and classes. We show that the type parameterisation of Java generics --- with wildcards --- is sufficient to enforce ownership.

Semantics of Programming Languages—Operational

Julian Mackay, Lindsay Groves, Hannes Mehnert +2 more

Artificial Intelligence · · cited 0× · OpenAlex ↗ · more like this ·

We develop a mechanized proof of Featherweight Java with Assignment and Immutability in the Coq proof assistant. This is a step towards more machine-checked proofs of a non-trivial type system. We used object immutability close to that of IGJ [9]. We describe the challenges of the mechanisation and the encoding we used inside of Coq. Categories and Subject Descriptors D.3.1 [Programming languages]: Formal Definitions and Theory—Semantics; F.3.2 [Logics and meanings of programs]:

General Terms

Paley Li, Nicholas Cameron, James Noble

Artificial Intelligence · · cited 0× · OpenAlex ↗ · more like this ·

Object-oriented programmers often need to clone objects. Mainstream languages, such as C # and Java, typically default to shallow cloning, which copies just one object and aliases references from that object. Other languages, such as Eiffel, provide deep cloning. A deep clone is a copy of the entire object graph reachable from the cloned object, which could include many unnecessary objects. Alternatively, programmers can implement their own object cloning functions, however, this is often difficult and error prone. Sheep Cloning is an automated cloning technique which uses ownership information to provide the benefits of both shallow and deep cloning without the costs. We describe, formalise, and prove soundness of Sheep Cloning in a minimal object-oriented calculus with ownership types. Categories and Subject Descriptors

Whiley: a Language Combining Flow-Typing with Updateable Value Semantics

David J. Pearce, Nicholas Cameron, James Noble

Artificial Intelligence · · cited 0× · OpenAlex ↗ · more like this ·

Whiley is a statically typed language with the look-and-feel of a dynamically typed language. For example, as with many dynamically typed languages, assignments to variables, fields and list elements always succeed. Key to this is a careful combination of flow typing and updateable value semantics. This enables a programming model that lies between the imperative (where mutable data is passed by reference and updated in place) and the functional (where immutable data is passed by value or by name). In Whiley, mutable data that may be updated in place is passed and returned by value, with the compiler free to eliminate unnecessary copies. Combined with flow typing (where variables may have different types at different program points), this yields an unusually flexible type system. In this paper, we explore the advantages of a programming model built around flow typing and update-able…

GoHotDraw: Evaluating the Go Programming Language with Design Patterns

Frank Schmager, Nicholas Cameron, James Noble

Artificial Intelligence · · cited 0× · OpenAlex ↗ · more like this ·

Go, a new programming language backed by Google, has the potential for widespread use: it deserves an evaluation. Design patterns are records of idiomatic programming practice and inform programmers about good program design. In this study, we evaluate Go by implementing design patterns, and porting the “patterndense” drawing framework HotDraw into Go, producing GoHot-Draw. We show how Go’s language features affect the implementation of Design Patterns, identify some potential Go programming patterns, and demonstrate how studying design patterns can contribute to the evaluation of a programming language. D.3.0 [Programming Lan-Categories and Subject Descriptors

Understanding Video Games

Nicholas Cameron Edwards

Sociology and Political Science · Digital Commons - Connecticut College (Connecticut College) · · cited 0× · OpenAlex ↗ · more like this ·

In this thesis, I attempt to offer an introduction to the medium of video games. I begin with the seemingly simple, but actually quite impossible, task of defining games, drawing upon, but ultimately rejecting, a number of proposed definitions. I then attempt to explain the complicated nature of the medium and its equally complicated relationships to other media in light of Roland Barthes' theory of the Death of the Author, and I conclude that games are fundamentally new and worthwhile. Having made the abstract argument that the medium is capable of producing art, I acknowledge Roger Ebert's point that it has not yet done so, and explore the obstacles preventing game art. Drawing upon the theories of Raph Koster and Jason Rohrer, I propose a revised philosophy of game-making that seeks to unlock art in a new and unique form. I conclude by pointing out the multitude of other questions…

Variant Ownership with Existential Types

Nicholas Cameron, Sophia Drossopoulou

Artificial Intelligence · Archives of Disease in Childhood · · cited 0× · DOI ↗ · more like this ·

We propose an ownership types system with existential quantification of owners, similar to the existential quantification of types in models of Java wildcards. This produces a system with variant ownership types. Using explicit existential types for variance is more expressive, less ad hoc, and easier to understand and reason about than previous solutions. Furthermore, we propose using both type and ownership parameters to increase the precision with which variant types can be specified. 1. Background Ownership types (in all their various flavours, e.g., [5]) allow for the structuring of objects in the heap according to some tree or graph. Each object has an owner, denoted as part of the object’s type. A type may also be parameterised