First official release of Ceylon
Today, we're proud to announce the release of Ceylon M1 "Newton". This is the first official release of the Ceylon command line compiler, documentation compiler, language module, and runtime, and a major step down the roadmap toward Ceylon 1.0.
You can get it here:
We plan a compatible M1 release of Ceylon IDE later this week.
In terms of the language itself, M1 has essentially all the features of Java except enumerated types, user-defined annotations, and reflection. It even incorporates a number of improvements over Java, including:
- JVM-level primitive types are ordinary classes in Ceylon
- type inference and type argument inference based on analysis of principal types
- streamlined class definitions via elimination of getters, setters, and constructors
- optional parameters with default values
- named arguments and the "object builder" syntax
- intersection types, union types, and the bottom type
- static typing of the
nullvalue and empty sequences
- declaration-site covariance and contravariance instead of wildcard types
- more elegant syntax for type constraints
- top-level function and value declarations instead of
- nested functions
- richer set of operators
- more elegant syntax for annotations
- immutability by default
Support for the following language features is not yet available:
- first-class and higher-order functions
- algebraic types, enumerated types, and
- mixin inheritance
- member class refinement
- reified generics
- user-defined annotations and the type safe metamodel
Furthermore, numeric operators are not currently optimized by the compiler, so numeric code is expected to perform poorly.
Modularity and runtime
Ceylon modules may be executed on any standard JVM. The toolset and
runtime for Ceylon is based around
.car module archives and module
repositories. The runtime supports a modular, peer-to-peer class
loading architecture, with full support for module versioning and
This release of Ceylon includes support for local module repositories.
Support for remote repositories and the shared community repository
modules.ceylon-lang.org will be available in the next release.
Chapter 7 of the language specification contains much more information about the Ceylon module system and command line tools.
At this time, the only module available is the language module
ceylon.language, included in the distribution.
There are a number of issues that currently affect interoperability with Java. These issues are a top priority for the next release.
The source code for Ceylon, its specification, and its website, is freely available from GitHub:
Bugs and suggestions may be reported in GitHub's issue tracker.
We're deeply indebted to the community volunteers who contributed a substantial part of the current Ceylon codebase, working in their own spare time. The following people have contributed to this release:
Stephane Epardaud, Tako Schotanus, Gary Benson, Emmanuel Bernard, Andrew Haley, Tom Bentley, Ales Justin, David Festal, Flavio Oliveri, Sergej Koshchejev, Max Rydahl Andersen, Mladen Turk, James Cobb, Ben Keating, Michael Brackx, Ross Tate, Ivo Kasiuk, Gertjan Assies, Nicolas Leroux, Julien Viet