slides kotlin yajug

22
Bastien Ladron github.com/Bastien7 [email protected] 1 KOTLIN

Upload: bastien-ladron

Post on 23-Jan-2018

151 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Slides kotlin yajug

Bastien Ladron

github.com/Bastien7

[email protected]

1

KOTLIN

Page 2: Slides kotlin yajug

2

Summary

⬡ What is Kotlin?

⬡ JetBrains

⬡ Story of Kotlin

⬡ Code

⬡ Visit of the official website

⬡ Kotlin 1.1

⬡ What about real-world?

Page 3: Slides kotlin yajug

3

What is Kotlin?

⬡ Statically typed programming language

⬡ Running on JVM

⬡ Developed by JetBrains since 2010

⬡ A better Java

Page 4: Slides kotlin yajug

4

JetBrains

⬡ Making IDEs and tools for different languages

⬡ Created in 2000

⬡ Most Innovative Java Company award 2012

⬡ Large codebase in Java

Page 5: Slides kotlin yajug

5

Looking for a new language

Page 6: Slides kotlin yajug

Candidates

Performance issue (in 2010)

Tools issue

Nice language

But interest divergences

6

Page 7: Slides kotlin yajug

7

Timeline

Page 8: Slides kotlin yajug
Page 9: Slides kotlin yajug

Official website

kotlinlang.org

9

Page 10: Slides kotlin yajug

10

Kotlin 1.1

JavaScript target no longer experimental

Coroutines

Page 11: Slides kotlin yajug

11

Coroutines

⬡ Asynchronous code

⬡ Non-blocking

⬡ Lightweight

“Much better threads”

Page 12: Slides kotlin yajug

12

Coroutines

Maximum flexibility

⬡ Language: very little is fixed

⬡ Libraries: many possibilities⬡ generators/yield (Python)

⬡ channels/select (Go)

⬡ async/await (C#)

Page 13: Slides kotlin yajug

13

Spring support

⬡ Many articles on spring.io blog⬡ Springboot + Kotlin for the 1.0

⬡ Guide and tips

⬡ Exclusive support for Kotlin in Spring Framework 5.0

⬡ Custom implementations/extensions

⬡ Code comparisons

Spring + Kotlin > Spring + Java

Page 14: Slides kotlin yajug

14

Current state

⬡ 22 JetBrains developers working full-time on Kotlin

⬡ Used in 10 products

⬡ New tools are written in Kotlin

⬡ IntelliJ has parts written in Kotlin

Page 15: Slides kotlin yajug

15

Community

⬡ 1 year since 1.0

⬡ 160,000 devs

⬡ 50% server-side, 50% Android

Page 16: Slides kotlin yajug

16

Roadmap

⬡ Support Java 9 (Jigsaw)

⬡ Incremental compilation for JavaScript

⬡ Tool and support for multi-platform target

⬡ Performance, maintenance

Page 17: Slides kotlin yajug

17

Multi-platform

Page 18: Slides kotlin yajug

Sustainability

Our commitment to Kotlin is that it’s here to stay because we’re using it in our products. The business model around Kotlin is JetBrains tooling, not consulting.

Hadi Hariri, developer and speaker at JetBrains

18

Page 19: Slides kotlin yajug

They use Kotlin

19

Page 20: Slides kotlin yajug

20

Kotlin in the banks?

Yeah! Our Luxembourgish banks are already using it!

Page 21: Slides kotlin yajug

Conclusion

21

⬡ Nice syntax for Java developers⬡ No boilerplate⬡ Easy to learn⬡ Seamless interoperability⬡ Support from Spring

Page 22: Slides kotlin yajug

Mindmap

22