Language suggestion: Kotlin

In this forum members can discuss topics about specific programming languages.
Post Reply
User avatar
franck.rasolo
Posts: 8
Joined: Mon Mar 05, 2012 2:09 am
Location: London, UK
Contact:

Language suggestion: Kotlin

Post by franck.rasolo »

Kotlin is a recent addition to the family of languages for the JVM. Similarly to Scala, it has higher-order functions. Unlike Scala, the Kotlin compiler is at least as fast as the Java compiler.

With Kotlin, it is possible to write very concise and fast solutions to Project Euler problems in a functional programming style. I have verified this by solving 17 problems so far in my spare time.

I would really appreciate it if you could add Kotlin to the list of programming languages.

Best regards

Franck Rasolo
Image

User avatar
hk
Administrator
Posts: 10872
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Language suggestion: Kotlin

Post by hk »

Is there some place where this language can be obtained?
I did a fast scan but coudn't find it.
Image

User avatar
franck.rasolo
Posts: 8
Joined: Mon Mar 05, 2012 2:09 am
Location: London, UK
Contact:

Re: Language suggestion: Kotlin

Post by franck.rasolo »

The first public preview of both compiler and IDE plugin is available at:
https://github.com/JetBrains/Kotlin/downloads

You might also want to check out this announcement:
http://blog.jetbrains.com/kotlin/2012/0 ... -source-2/
Image

thundre
Posts: 356
Joined: Sun Mar 27, 2011 10:01 am

Re: Language suggestion: Kotlin

Post by thundre »

franck.rasolo wrote:With Kotlin, it is possible to write very concise and fast solutions to Project Euler problems in a functional programming style. I have verified this by solving 17 problems so far in my spare time.
Have you posted any Kotlin to the solutions forums?
Image

User avatar
franck.rasolo
Posts: 8
Joined: Mon Mar 05, 2012 2:09 am
Location: London, UK
Contact:

Re: Language suggestion: Kotlin

Post by franck.rasolo »

No I haven't yet. Is that a pre-requisite for a programming language to be considered for addition?
Last edited by franck.rasolo on Mon Mar 05, 2012 9:55 pm, edited 1 time in total.
Image

User avatar
hk
Administrator
Posts: 10872
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Language suggestion: Kotlin

Post by hk »

franck.rasolo wrote:No I haven't yet. Is that a pre-requisite for a programming language to be considered for addition?

I can point you to the GitHub repository containing my solutions if that helps?
I think thundre is interested to have a look at those solutions.
We're no great fan of posting solutions outside our forums.
Why don't you simply post them in the forums so that people can have a look at them?
You could tell here where to look.
Image

User avatar
franck.rasolo
Posts: 8
Joined: Mon Mar 05, 2012 2:09 am
Location: London, UK
Contact:

Re: Language suggestion: Kotlin

Post by franck.rasolo »

Ok. I'll post to the solutions forum instead.
Last edited by franck.rasolo on Mon Mar 05, 2012 8:06 pm, edited 1 time in total.
Image

User avatar
hk
Administrator
Posts: 10872
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Language suggestion: Kotlin

Post by hk »

Franck, you're absolutely misunderstanding me.
I mean the forums for the problems themselves.
Simply put your solutions there for those problems.
And please stop advertising your spoiler site?
And could you please remove the link to that site in your previous post ASAP?
Image

User avatar
franck.rasolo
Posts: 8
Joined: Mon Mar 05, 2012 2:09 am
Location: London, UK
Contact:

Re: Language suggestion: Kotlin

Post by franck.rasolo »

I've removed the link. Apologies for the misunderstanding.
Last edited by franck.rasolo on Mon Mar 05, 2012 9:56 pm, edited 1 time in total.
Image

User avatar
franck.rasolo
Posts: 8
Joined: Mon Mar 05, 2012 2:09 am
Location: London, UK
Contact:

Re: Language suggestion: Kotlin

Post by franck.rasolo »

As requested, I've just posted solutions to Project Euler problems 1 to 10 and 11 to the solutions forum.
Image

User avatar
hk
Administrator
Posts: 10872
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Language suggestion: Kotlin

Post by hk »

Thanks.
Everybody interested can have a look at them.
BTW, I'm not able change anything to the main website, that's done by our technical staff.
They're scanning this forum too.
Image

thundre
Posts: 356
Joined: Sun Mar 27, 2011 10:01 am

Re: Language suggestion: Kotlin

Post by thundre »

franck.rasolo wrote:As requested, I've just posted solutions to Project Euler problems 1 to 10 and 11 to the solutions forum.
Thanks. I was asking because I'm interested in the language, not because I have a hand in deciding if it's added to the list.

It would tell us more about the language if you posted the supporting routines too. I'm a little confused about which words are functions you wrote and which are Kotlin key words.
Image

User avatar
franck.rasolo
Posts: 8
Joined: Mon Mar 05, 2012 2:09 am
Location: London, UK
Contact:

Re: Language suggestion: Kotlin

Post by franck.rasolo »

I've just posted my solution to problem 35 which includes all supporting code. I've also updated my post for problem 1.
Image

User avatar
franck.rasolo
Posts: 8
Joined: Mon Mar 05, 2012 2:09 am
Location: London, UK
Contact:

Re: Language suggestion: Kotlin

Post by franck.rasolo »

I've just posted my solution to problem 26, and I posted solution to problem 36 over three weeks ago.

Is there a chance that Kotlin be added to the list of languages anytime soon?
Image

Post Reply