Open in app

Sign In

Write

Sign In

Brian Norman
Brian Norman

64 Followers

Home

About

Nov 21, 2020

Writing Your Second Kotlin Compiler Plugin, Part 1 — Project Setup

At the time of writing this article, Kotlin compatibility for IR backend is in Alpha status and the compiler plugin API is Experimental. As such, information contained in this article about IR and compiler plugins could be out-of-date or incorrect. If official documentation exists, please refer to it first. I’ve…

Kotlin

4 min read

Writing Your Second Kotlin Compiler Plugin, Part 1 — Project Setup
Writing Your Second Kotlin Compiler Plugin, Part 1 — Project Setup
Kotlin

4 min read


Sep 29, 2020

Soft Assertion with kotlin-power-assert

The kotlin-power-assert Kotlin compiler plugin is great (I may be biased as its author) as it enables diagramming of assert function calls. As the plugin grows and matures I’m discovering new use cases. One I wanted to try is the idea of soft assertions which many assertion libraries support. …

3 min read

3 min read


Sep 26, 2020

React Functional Components with Kotlin/JS

I’ve been playing with Kotlin/JS and React lately. I’ve been wanting to learn more about frontend development, and since I’m very familiar with Kotlin, thought Kotlin/JS and React would be a good entry point. React I’m not even going to pretend to be able to explain React. You should go read…

Kotlin

3 min read

Kotlin

3 min read


May 23, 2020

Kotlin OptIn Annotation as a Scoping Tool

I like to follow the kotlinx.coroutines library closely on GitHub. Not really because I have anything to contribute, but because there is so much to learn! Take it’s use of the RequiresOptIn annotation (previously Experimental in Kotlin pre-1.3.70). There are some really nice ways this annotation is used, especially when…

Kotlin

2 min read

Kotlin

2 min read


Feb 10, 2020

Exploring Kotlin IR

At the time of writing this article, Kotlin IR is experimental. As such, information contained in this article about IR could be out-of-date or incorrect. If official documentation for Kotlin IR exists, please refer to it first. Ever since learning about them, I’ve been very interested in Kotlin compiler plugins…

5 min read

5 min read


Jul 29, 2019

“Unused” Type Parameters on Kotlin Inline Classes

Kotlin introduced inline classes in 1.3 as an experimental feature. They allow wrapping of a single value which is inlined at compile time. You can use them for ID classes and also for logging implementations. They are a great feature with some very interesting use cases. “Unused” type parameters can…

Kotlin

1 min read

Kotlin

1 min read

Brian Norman

Brian Norman

64 Followers
Following
  • Kevin Galligan

    Kevin Galligan

  • Roman Elizarov

    Roman Elizarov

  • Jesse Wilson

    Jesse Wilson

  • Alec Strong

    Alec Strong

  • Egor Andreevich

    Egor Andreevich

See all (7)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams