Feeds

Project Ceylon – Red Hat builds Java killer replacement

Coder says Java crap at user interfaces

The Power of One eBook: Top reasons to choose HP BladeSystem

Red Hat is developing a new Java Virtual Machine-based programming language intended to overcome the limitations of Java itself. Unveiled earlier this week by lead developer Gavin King at a conference in China, the effort is known as Project Ceylon.

Early reports of King's presentation in Bejing painted Project Ceylon as a "Java killer", but King has played down the characterization. "I never billed this as a Java Killer or the next generation of the Java language," King says in a blog post. "Not my words. Ceylon isn't Java, it's a new language that's deeply influenced by Java, designed by people who are unapologetic fans of Java. Java's not dying anytime soon, so nothing's killing it."

But he does say that Ceylon is intended to ease the frustrations that he and other developers have long experienced with Java. "We've been designing and building frameworks and libraries for Java for 10 years, and we know its limitations intimately. And we're frustrated," he says. "Much of our frustration is not even with the Java language itself. The extremely outdated class libraries that form the Java SE SDK are riddled with problems. Developing a great SDK is a top priority of the project."

In his China presentation, King says that the Java SE SDK was designed in haste, that it was never "properly modernized", and that it "still has an experimental, work-in-progress feel about it".

Another priority of the Ceylon project is to create a Java-based language that defines user interfaces and structured data using a typesafe, hierarchical syntax. "Java is joined at the hip with XML, and this hurts almost every Java developer almost every day," reads King's China presentation (39-page PDF/471 KB). "There is simply no good way to define a user interface in Java, and that is a language problem."

At the moment, the project amounts to little more than a specification. A compiler has not been released. But when the language arrives, it will run in the Java Virtual Machine. According to King's presentation, it will include static typing, automatic memory management and safe referencing, first-class and high-order functions, declarative syntax for defining user interfaces and structured data, and built-in modularity.

What's more, King says, the team will strive to make the language easy to learn and understand.

Some have described the project as an effort to rewrite Java from scratch, but King says this is not the case, explaining that Red Hat intends to reuse large amounts of existing code from Java. "Just think of what's reusable from Open JDK, JBoss, and Eclipse," he writes. "It's not a requirement that the entire SDK, compiler, and IDE be implemented in Ceylon. And it's not an enormous undertaking for a company of Red Hat's size. And, of course, we don't want to do this on our own. A project like this isn't even interesting unless it's a community effort." ®

HP ProLiant Gen8: Integrated lifecycle automation

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
Big Blue Apple: IBM to sell iPads, iPhones to enterprises
iOS/2 gear loaded with apps for big biz ... uh oh BlackBerry
prev story

Whitepapers

Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.