Ceylon now available

90 views
Skip to first unread message

Cédric Beust ♔

unread,
Dec 21, 2011, 2:39:43 AM12/21/11
to java...@googlegroups.com
For those of you who missed it, Ceylon's first official release is now available.

-- 
Cédric


Mark Derricutt

unread,
Dec 21, 2011, 3:58:49 AM12/21/11
to java...@googlegroups.com
How long til we see the hate posts saying how terrible it is, and why don't we just use scala?

Anyone tried it yet and have early reports?

--
"Great artists are extremely selfish and arrogant things" — Steven Wilson, Porcupine Tree



2011/12/21 Cédric Beust ♔ <ced...@beust.com>
For those of you who missed it, Ceylon's first official release is now available.

-- 
Cédric


--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.

Matthew Farwell

unread,
Dec 21, 2011, 4:07:51 AM12/21/11
to java...@googlegroups.com
I hate it, it's terrible. Why don't we just use Scala?

About 10 minutes, then.

(Please note the very big smiley attached to this message)

Matthew Farwell.

Moandji Ezana

unread,
Dec 21, 2011, 5:10:13 AM12/21/11
to java...@googlegroups.com
On Wed, Dec 21, 2011 at 10:58 AM, Mark Derricutt <ma...@talios.com> wrote:
How long til we see the hate posts saying how terrible it is, and why don't we just use scala?

That happened 10 minutes after Ceylon was "accidentally" unveiled how ever many months ago.

Moandji

Fabrizio Giudici

unread,
Dec 21, 2011, 5:30:25 AM12/21/11
to java...@googlegroups.com
On Wed, 21 Dec 2011 10:07:51 +0100, Matthew Farwell
<mat...@farwell.co.uk> wrote:

> I hate it, it's terrible. Why don't we just use Scala?
>
> About 10 minutes, then.
>
> (Please note the very big smiley attached to this message)

Perhaps it's worth while to define an official corollary to the Godwin's
Law where "usenet" is replaced by "JavaPosse" and "Hitler" by "Scala". :o)

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
fabrizio...@tidalwave.it
http://tidalwave.it - http://fabriziogiudici.it

Kevin Wright

unread,
Dec 21, 2011, 7:08:54 AM12/21/11
to java...@googlegroups.com
I'd say it was far too early to evaluate, that's still a fairly intense list of things that haven't yet been implemented:

  • first-class and higher-order functions
  • comprehensions
  • algebraic types, enumerated types, and switch/case
  • 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.


2011/12/21 Cédric Beust ♔ <ced...@beust.com>

Ricky Clarkson

unread,
Dec 19, 2011, 6:27:43 AM12/19/11
to java...@googlegroups.com
These new languages will probably succeed in making local type inference the standard, like C# and Scala before them.

The null-safety is always interesting, how does that interact with Java code? Do we assume every Java method might return null?

It doesn't sound complete enough to be worth a download yet.
From: Mark Derricutt <ma...@talios.com>
Date: Wed, 21 Dec 2011 21:58:49 +1300
Subject: Re: [The Java Posse] Ceylon now available

Russel Winder

unread,
Dec 21, 2011, 10:00:08 AM12/21/11
to java...@googlegroups.com
On Mon, 2011-12-19 at 11:27 +0000, Ricky Clarkson wrote:
> These new languages will probably succeed in making local type inference the standard, like C# and Scala before them.
>
> The null-safety is always interesting, how does that interact with Java code? Do we assume every Java method might return null?
>
> It doesn't sound complete enough to be worth a download yet.

Downloaded, installed, tried "hello world", failed to be able to execute
any compiled code -- online documentation is inconsistent with the
command lines as issued. Will wait for 0.2.

The ensuing battle between Java 8, Kotlin, Ceylon and Scala is going to
be interesting to spectate.

--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel...@ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: rus...@russel.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder

signature.asc

Jeb Beich

unread,
Dec 21, 2011, 11:14:25 AM12/21/11
to java...@googlegroups.com
Why does it have to be a battle? I'd like to believe that there will be an ecosystem consisting of a few popular jvm languages living in harmony.
--
Jeb Beich
http://www.red-source.net/jeb

Cédric Beust ♔

unread,
Dec 21, 2011, 12:14:31 PM12/21/11
to java...@googlegroups.com
On Wed, Dec 21, 2011 at 8:14 AM, Jeb Beich <jebb...@gmail.com> wrote:
Why does it have to be a battle?

It doesn't, really, but it's been a sad trend that each discussion about a new programming language ends up being trolled to death by misguided Scala enthusiasts who think they are doing their language of choice a favor by carpet bombing the discussion with variations on the theme "Scala already does it and does it better".


-- 
Cédric

Kevin Wright

unread,
Dec 21, 2011, 2:03:20 PM12/21/11
to java...@googlegroups.com
There's a bit of a precedent here!  To quote from one of my favourite blog postings ever[1]:

1996 - James Gosling invents Java. Java is a relatively verbose, garbage collected, class based, statically typed, single dispatch, object oriented language with single implementation inheritance and multiple interface inheritance. Sun loudly heralds Java's novelty.

2001 - Anders Hejlsberg invents C#. C# is a relatively verbose, garbage collected, class based, statically typed, single dispatch, object oriented language with single implementation inheritance and multiple interface inheritance. Microsoft loudly heralds C#'s novelty.


As Java devs, I'm sure we all remember our thoughts and feelings on hearing about C#  That whole sense of the thing looking awfully familiar, and a general impression that Microsoft only produced an inferior clone of Java because they hadn't been able to subvert it and wanted political control (remember the lawsuit?).  

For anyone used to Scala, the descriptions of Kotlin and Ceylon are once again evoking that same eerie sense of familiarity and the same fears as to why anyone would want to clone a feature set so closely.  Instead of contributing to the pre-existing open source solution.  

Those concerns are what you see coming out on reddit & co.  Any semblance to trolling is purely co-incidental; the expression of a genuine fear is a very different proposition to goading people and seeing how they'll react.




2011/12/21 Cédric Beust ♔ <ced...@beust.com>

--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.



--
Kevin Wright
mail: kevin....@scalatechnology.com
gtalk / msn : kev.lee...@gmail.com
vibe / skype: kev.lee.wright
steam: kev_lee_wright

"My point today is that, if we wish to count lines of code, we should not regard them as "lines produced" but as "lines spent": the current conventional wisdom is so foolish as to book that count on the wrong side of the ledger" ~ Dijkstra

Cédric Beust ♔

unread,
Dec 21, 2011, 2:11:06 PM12/21/11
to java...@googlegroups.com

On Wed, Dec 21, 2011 at 11:03 AM, Kevin Wright <kev.lee...@gmail.com> wrote:
For anyone used to Scala, the descriptions of Kotlin and Ceylon are once again evoking that same eerie sense of familiarity and the same fears as to why anyone would want to clone a feature set so closely.  Instead of contributing to the pre-existing open source solution.

There are millions of good reasons for rolling your own thing instead of contributing to something that already exists (license, dislike for the original solution's design or implementation, starting something from scratch, creating your own project, going in for the challenge, learning, etc...), but ignoring this aspect and going back to your original point, C# is a good example of something that started as a clone and which later evolved into something very popular.

I just find the angle "Why did you invent your own thing instead of adding to the existing?" very short-sighted and detrimental to research and discovery, and it usually tells me that the person asking this question has become a little too comfortable with what he likes and closed-minded to what he doesn't know he might end up liking too.

-- 
Cedric


pforhan

unread,
Dec 21, 2011, 2:33:19 PM12/21/11
to The Java Posse
What I want to see after these languages mature a bit is what they
have taken away. What complexity from Java have they removed, and
what best practices have they enforced? This is one reason Java was
powerful -- there were fewer ways to do things, and especially fewer
ways to get them wrong.

I want to see a language built with simplicity, clarity, and restraint
in mind. Power in a few characters means nothing to me.

Pat.

On Dec 21, 1:11 pm, Cédric Beust ♔ <ced...@beust.com> wrote:

Reinier Zwitserloot

unread,
Dec 21, 2011, 10:10:18 PM12/21/11
to java...@googlegroups.com
There's too much competition in this space.

We have java, which clearly put a stake in the ground and has a gigantinormous community.

There's scala, who was here early enough and has enough 'different' about it that its become a smaller sattelite sun of the java platform, sucking away some of the more 'willing to try out new stuff' people of the java community and also some from elsewhere.

But the clustermess that's Kotlin+Ceylon+Fantom+a few other wannabees is just annoying. I think at least one of those 3+ languages has a very good thing going, probably all of them, but now not one of those is going to get the critical mass necessary to truly become a living, breathing sun of its own.

That's a real shame, I think. I have no idea how to fix it, either. For what its worth I think I might want to give Kotlin the benefit of the doubt, if only because they have a different outlook vs. everything else on the JVM (and the correct outlook, that is: Tools first. Nobody programs in notepad, don't develop a new language as if people do).

Ricky Clarkson

unread,
Dec 21, 2011, 11:57:47 PM12/21/11
to java...@googlegroups.com
I think you're missing xtend-lang, which also goes tools-first,
possibly too far in that I don't think there's yet a
publically-available command-line compiler, only an Eclipse plugin.
Fantom? No user-defined generic types, and then it gets itself
associated with a guy who wants to be everyone's enemy.

> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.

> To view this discussion on the web visit
> https://groups.google.com/d/msg/javaposse/-/FKA54UeIOUYJ.

Mark Derricutt

unread,
Dec 22, 2011, 6:22:13 AM12/22/11
to java...@googlegroups.com
There is - 2.2 came out a week or two ago with a standalone compiler, an ant task, and a maven plugin.

Maven plugin works great, apart from sending the generated source to src/main/xtend-gen ( configurable ), I raised a bug and the default is now target/generated-sources/xtend-gen which means IntelliJ just magically picks up the generated source.

So far I quite like Xtend - generating .java source and leaving the compile up to you actually seems quite nice in that it works out of the box with Android, Google App Engine, OSGi etc.

Xtend to me feels much like CoffeeScript - Xtend is "just java classes" with a very thin runtime library - it's the same type system - and the best thing - extension methods via @Inject'ed fields is darn awesome.

--
"Great artists are extremely selfish and arrogant things" — Steven Wilson, Porcupine Tree



Kevin Wright

unread,
Dec 22, 2011, 6:55:42 AM12/22/11
to java...@googlegroups.com
It's a valid approach.  Java is, after all, built on the basic model of first compiling to an intermediate representation (bytecode) which is then compiled down to native code.

And then, most likely, your CPU will take the "native" CISC instructions and translate them into a reduced RISC-like set.  It's turtles all the way down, what's wrong with another one on the top?

I understand a certain reticence given how badly the whole idea worked out with JSP (not fun to debug, no sir, not at all), but the principle is sound in spite of previous bad examples.

Tying to a single IDE seems risky to me (vendor lock-in), and I'm not convinced that java is the best possible intermediate language for this[1], but there's absolutely no reason why it wouldn't work perfectly well.


[1] Jribble is a better bet: http://scalagwt.github.com/jribble

Roland Tepp

unread,
Dec 29, 2011, 2:11:17 AM12/29/11
to java...@googlegroups.com
I might well be wrong, but I remember seeing some Ant tasks for compiling XTend.

Any way, the XTend language is just a tool in the XText toolset that is itself geared towards providing tooling first language development, so I really see no serious fault in this...
Reply all
Reply to author
Forward
0 new messages