~/talk

Kotlin Native for CLIs

Talkat KotlinConf 2023 · 2023-04-12..04-14· Berlage Zaal· [kotlin]
github:rharter
slides:none on file

Kotlin Native builds a real CLI from a multiplatform image-diff library but trades JVM conveniences for manual memory and linking work. The prototype uses stb_image (static) vs libpng (dynamic), measures image load ~95 ms and compare ~1.5–1.6 s with native code, and finds JVM comparison often faster after copying pixels into managed memory. Distribution requires per-architecture binaries or system libraries, whereas JVM workflows can produce runnable packages via installDist wrapper scripts — each approach has clear trade-offs.

AI-written summary · about

  1. 0:00Start
  2. 2:41Differ
  3. 11:26Dependencies
  4. 31:35Performance
  5. 36:29Distribution
  6. 41:23Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.