r/ceylon • u/likerofgoodthings • Jun 29 '25
r/ceylon • u/[deleted] • Jun 29 '25
MANDAI PULLAI by Daniel Yogathas - Episode 9 [RaviAttan]
r/ceylon • u/shevsky790 • Dec 02 '13
I really like Ceylon
That is all. Just adding a post to this subreddit.
I saw articles saying "why use Ceylon when Scala exists?" - but I haven't jumped on the "functional is strictly superior" bandwagon, and I like explicit, imperative programming still. It is easy to understand and reason about, and I don't want to have intellectual tasks involved in understanding (relatively) simple business logic.
r/ceylon • u/likerofgoodthings • Nov 30 '25
Brampton is taking a huge step in acknowledging the cultural roots of the people who have been part of this city for 20+ years, and honestly, it deserves more recognition.
r/ceylon • u/Ellallan • Aug 10 '25
🚨 Breaking News The body of the Tamil youth murdered by the Sri Lankan military has now been found. NSFW
The body of a Tamil youth killed by the Sri Lankan military was found floating in the Muttiyankattu tank. He was one of four who had been forcibly taken to a Sri Lankan army camp. All four were subjected to torture
r/ceylon • u/[deleted] • Jun 28 '25
WHO’S REALLY MAKING THE BEST MUTTON ROLLS IN LONDON?
r/ceylon • u/NotAnonymousRIT • Mar 03 '17
Ceylon-related research papers?
Hello. I was wondering if there were any research papers that either influenced Ceylon's language design or are inspired by Ceylon's language features (so in either direction of influence). In particular, I'm looking for papers regarding intersection and union types as they are used in Ceylon (i.e. in a nominal type system), but any other Ceylon features with research papers would be interesting too (e.g. Ceylon's principle typing). Sorry if this has been asked before. Thank you.
r/ceylon • u/[deleted] • Sep 27 '17
Runtime generated classes?
Is it possible to create classes at runtime in Ceylon?
My use case is this:
I'm designing a spherical playground house.
A house consists of a number of wooden plates attached to each other.
A plate has a number of edges, which are flat cut-offs. I call these edges 'Planes’ (actually 'BoundedPlanes', but let's skip the long name for now).
I need to operate with a number of bases:
A global basis (of which there is only one)
Plate-wise bases (one for each plate)
Plane-wise bases (one for each plane on each plate)
As you see, the are three different sorts of bases, and I would like to see this reflected in the type system.
Let's say I create an abstract class ‘Basis’ with three sub classes: ‘GlobalBasis’, ‘PlateBasis’ and ‘PlaneBasis’.
Then, for any given plate in the house, I want to create a basis that is specific for its orientation in the global space. Thus I would like to instantiate PlateBasis with the relevant basis vectors and get something in return. What exactly should I return? A class? or..? The returned thing needs to fulfill these requirements:
It can create new vectors that are defined in relation to the current plate basis.
It can take a vector defined in the global basis and translate it into the current plate basis.
It can take a vector defined in the current plate basis and translate it into the global basis.
If only a class can do these things, does that mean that I am creating classes at run time? (given that I only know the specific vectors that are to become basis vectors, at run time, I can't really define these classes any sooner). How does ‘defining classes at runtime’ jive with Ceylon’s philosophy? Is it at all possible?
PS. The exact same issue of course also goes for the Plane bases.
PPS. come to think of it, I'll probably also need a corresponding set of classes: GlobalVector, PlateVector and PlaneVector.
r/ceylon • u/quintesse • Aug 11 '14
Ceylon 1.1 progress report (x-post from /r/programming)
r/ceylon • u/galaktos • Feb 27 '14
What are Ceylon’s killer features
When you show Ceylon to a fellow programmer, or tell them about it, what features of it do you showcase? How do you spark their interest in the language?
r/ceylon • u/[deleted] • Sep 02 '17
Subtyping the Float type?
It would be neat if one could make subtypes of Float, that would then be non-interchangeable: I could make a type for X-values, a type for Y-values, a type for Z-values, a type for scalars etc. Unfortunately Float happens to be declared 'final', which makes it unextendable. Thus the only option I see is to make my own classes for X, Y, Z and scalar. They should then be made to satisfy the interface Number, and they should also implement Sumable and friends, in order to enable 'operator overloading'. That sounds mightily cumbersome to me.
Its there an 'easy' way to make non-interchangeable copies of the Float type?
r/ceylon • u/Yellapage • Oct 15 '18
Help finding Ceylon Devs
It's really difficult to find Ceylon developers, we need to hire a team to work on a cloud based text editor. If anyone is interested or has any advice on where to advertise, that would be great. Please feel free to DM me for more information.
Thanks
r/ceylon • u/mrmojoseph • May 31 '19
Email to XYZ. Perhaps to an unread inbox. Can you help me get Ceylon questions answered?
Hi XYZ,
(You are allowed to post this online (Reddit) and your answer if you desire. Just leave my name and email out of it. Let me know if you wish for me to comment there, or post the entire thread eventually. )
---
This email has been in the planning for a long time. I'm a Java/Frontend Software Architect with a Masters Degree in Engineering from Sweden. I'm also an entrepreneur with over 12 years of experience.
I've seen you comment on Reddit a few times but figured email might be the best long form medium. I am perfectionist, and my dislike and annoyance of Java over the years, which over and over again refuses to allow me to declare and structure code in the most elegant way I desire, has lead me to always be on the look for other fully static languages.
I haven't seen many I like. I'd like the syntax to be close to Java, and the inter op to be top notch. I do not easily make such a choice. Groovy was nice because it played so well with Java but problem was it's dynamic and generics still was lacking. Sure you can @CompileStatic but that just opens up the possibilities of misuse.
My ideal language would be a fully static Groovy, add many of Javascripts language functionality (nested functions / classes despite "performance") with Ceylons incredibly powerful generics declaration, and trait like functionality.
Ceylon got my attention a few years ago and I immediately fell in love. Syntax was close to Java's. It didn't try to invent new syntax for things I consider unnecessary (Kotlin/Scala/TypeScript backwards name:String annoyed me, why?
Sure it adds shared and what not, but probably for good reasons. I've however seen Kotlin taking the lead and it now appears as if Ceylon has indeed lost. I think even you would agree on that point. If it is fair is another question.
However, I do know that Ceylon is the better language and I might not ultimately care if everyone else is using it if I am building my own enterprise product and enforcing it as people come along.
The discussion is really. What is the best language. Not which has the best future. Or best adaptation. Or where I will find people that know x or y.
I feel as if it is Ceylon, unless it is incomplete or lagging behind in areas i am unaware of. Since I am a developer myself, I don't care if everybody else is using it. It's unfortunate Google picked Kotlin for Android but that was probably due to Intellij team and Android Studio pushing it. But it kind of killed Ceylon.
I need to be using the best out there, so I can write the novel of my life with the best tool available for me.
So I would like to get your help figuring out if I should choose Ceylon nonetheless over Kotlin, or will the stagnation just continue to leave me unfullfilled due to the lack of completion of the language?
---
Are there bugs?
Are there features that we have in Kotlin that are still not implemented in Ceylon.
---
I've thought hard about the top most annoying things for me in a Java environment.
Generics and the limited way of expressing Generics. I know that this is Ceylon's strongest suite and has implemented it first class, contrary to Kotlin. I believe Kotlin does offer similar things but in "the wrong" way and doesn't allow you to express complex expressions in the same manner as Ceylon or Haskell. Can you shed some light here?
Lack of multiline strings which I know Ceylon has implemented in the most elegant way I have ever seen (indentation)
Static members in non static inner classes. This always leads to ugly freaking code.
Or lack of nested inner functions / inner classes (in functions as well) similar to Javascript. I like that in Javascript you can isolate and let code live where code is used. If I need a function to be used twice in the same method, you don't need it to declare it with the other class functions and pollute that space. I don't like the idea of switching implementation style and declaring it as a lambda either.I'd like for Java to allow me to declare a class wherever.
Lack of extending of enums which do contain logic manytimes. A base enum is not always a stupid idea.
Interfaces should be able to have public, protected, private methods AND static and non static member variables. I believe some of these has been addressed in Java 9-11 although I've haven't gotten that far yet. However, instance variables is definitely doable, to achieve Trait like functionality. I've even achieved that in Java 8 but restrained myself from using it much in projects. I think Ceylon underneath does the same, because my code also prohibits the use of inner state object outside which could lead to memory leaks. See my implementation attached.
Built in errorprone like functionality. Packages can declare other packages to have package local access or something like that or forbid access. The flat structure today with Java's package local is aweful.
Avoid cyclic dependency issues typically restricted in maven projects but not on one big project structured in separate packages / modules. Maybe Java 9 - 11 has addressed some of that but I doubt it's the way I envision it. I would like you to help me convince myself to go with Ceylon, despite Kotlin being picked for Android and by most organizations out there now.
Static members of non static innerclasses. Such an annoyance in Java.
Enums non extendable despite sometimes logic filled. Reuse leads to redundancy.
---
What does Ceylon do better than Kotlin?
What does Kotlin do better than Ceylon?
What does Ceylon still lack that you did not have time to add before basically been shelved? There is no development on it now.
Am I running a huge risk picking a language that might not evolve much more?
I don't care if it already contains everything I actually need today, and I doubt my future would lead me much else, but is it lacking?
---
Could you also comment on the interop between Ceylon and Java? What are the corner cases? ---
Of course, if I do make it, which might take a few years, I will consider to finance you and Ceylon further.
I love that you appear as passionate as me about excellence, and it is unfortunate people don't realize how much more well designed Ceylon actually is compared to Kotlin, but the world doesn't always pick the best tool, often only the most convenient.
Redhat and IBM might have also been a red flag for many. Google probably didn't want another Oracle debacle with those two giants down the road.
---
Thank you XYZ for providing this language to the world and may it succeed in one way or another.
If it doesn't and I make it in this world, I will get back to you and we'll design a totally new language together from scratch, unless this is already the perfect language indeed, albeit I am sure all my desires are not there yet.
PS. Moving fast and didn't really read through everything i've written, and might be eloquently expressed but I hope you can see past that. Sorry for that.
Sincerely, Mo Joseph
[ceylon.http.client] making a request with a proxy
hi there, i'm trying to use Ceylon, making a simple program to learn the language (that i love so far, btw). I'm using Request.execute but it fails for connection timeout becouse i'm behind a proxy. Is there any way to tell the library to use the proxy?
Thanks!
r/ceylon • u/metaperl • Oct 22 '14
(scala-vs-ceylon) Structural pattern matching?
Scala has structural pattern matching as reddit user earldouglas shows us:
As a basic example, let's use a case class and a case object to implement a linked list:
sealed trait List[+A]
case object Nil extends List[Nothing]
case class Cons[A](head: A, tail: List[A]) extends List[A]We represent the empty list as Nil, and a non-empty list as an element of type A prepended onto another list whose elements are also of type A. Now let's use pattern matching (and property extraction) to implement a function that computes the sum of a list of integers:
def sum(xs: List[Int]): Int =
xs match {
case Nil => 0
case Cons(head, tail) => head + sum(tail)
}Given a list of integers, its sum is zero if it is the empty list, otherwise its sum is the sum of its head and the sum of its tail. The pattern match syntax lets us get our hands on the head and tail fields so that we can use them in the expression head + sum(tail).
We can test this via:
val y = sum(Cons(1, Cons(2, Cons(3, Cons(4, Nil)))))r/ceylon • u/Denommus • Nov 24 '13
Does Ceylon exposes its parser?
I'm starting a major mode for Emacs to support Ceylon. Having access to the parser would be really useful (like clang does). Does Ceylon exposes its parser, or will I have to reinvent the wheel?
r/ceylon • u/lucaswerkmeister • Jan 20 '17
Introducing ceylond and cformat: write Unix daemons in Ceylon, speed up program execution, and format Ceylon source code faster
groups.google.comr/ceylon • u/we_need_wards • Jul 24 '18
Is anyone actually using the language?
Is there any actual software shipped, which was developed in Ceylon? I don't mean some github hobby projects, but something with at least 10 users or so...
r/ceylon • u/lucaswerkmeister • Oct 17 '14
The Ceylon type system is Turing complete
groups.google.comr/ceylon • u/mrmojoseph • Apr 24 '20