~/talk

Graphics Programming with Kotlin

Talkat KotlinConf 2018 · 2018-10-03..10-05· [kotlin, creative-coding]
slides:none on file

Kotlin code shows concrete recipes: Android KTX provides extension properties to pack/unpack 32-bit color ints, plus destructuring operators and operator overloads for rectangle union/intersection and pixel get/set so bitmap[x,y] and sub-rect ranges read cleanly. A GLSL ray tracer ports to Kotlin math with minimal changes and runs on CPU using coroutines and a 3x CPU dispatcher to move from ~50% to ~99.9% core utilization. Kotlin 1.3 adds inline classes and unsigned types that give zero-cost abstractions with caveats about boxing.

AI-written summary · about

  1. 0:00Intro
  2. 0:49Android KTX
  3. 1:17Dealing with legacy
  4. 3:27Destructure everything
  5. 4:21Implement operators
  6. 14:31Aliasing & swizzling
  7. 23:39Unsigned Integers
  8. 33:05Coroutines
  9. 35:18Kotlin scripting
  10. 36:48User-defined literals
  11. 38:08Short-form constructors
~/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.