Our great sponsors
-
mosaic
An experimental tool for building console UI in Kotlin using the Jetpack Compose compiler/runtime (by JakeWharton)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Jansi
Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.
Are you curious about what the Compose API might look like if it didn't need to support features that required it to be a compiler plugin? If so, check out Konsole! But first, a bit of background:
Then there is Mosaic, a terminal UI library using Compose, and now we're getting somewhere! A library that takes advantage of Kotlin features was right up my alley. But after trying it out, it feels like it's not 100% there yet, and furthermore it turns out that relying on Compose limits it to being tied to rather recent (and sometimes specific) versions of the Kotlin compiler.
There is Jansi, but code like System.out.println(ansi().eraseScreen().fg(RED).a("Hello").fg(GREEN).a(" World").reset()); looked error prone and didn't look fun to write.