A TypeScript Fan's KotlinJS Adventures
summary
Built a WebGL Breakout clone twice — once in TypeScript and once in KotlinJS — using React, Redux and React Three Fiber; the KotlinJS version runs and exercises npm interop but tooling like dukat and Kotlin’s lack of union/conditional types forces many manual wrappers. Kotlin’s suspending functions and coroutines simplify async code compared with async/await. IntelliJ/Gradle support and Kotlin DSLs are strong, and Compose for Web could close the JSX gap.
AI-written summary · about
chapters (11)
- 0:00Intro
- 3:29Experiment: Is KotlinJS worth it?
- 10:12Round 1: Community
- 14:21Round 2: Interop with JavaScript
- 17:46Round 3: JSX vs DSL
- 29:34Round 4: Async await vs coroutines
- 32:02Round 5: Elegant syntax
- 34:22Conclusion
- 36:17Game changer 1: Potential new language features
- 37:31Game changer 2: Compose for web
- 38:35Outro








