Rustacean Station

Asciinema with Marcin Kulik

9 snips
Jan 31, 2024
Marcin Kulik, creator of asciinema and an independent consultant focused on Elixir and Rust, dives into his groundbreaking service that records terminal sessions. He shares the inspiration behind asciinema, detailing the challenges he faced while transitioning to Rust for performance improvements. The discussion touches on the development of a GIF generator and the importance of using the right languages for different project needs. Future plans for enhancing asciinema with features like real-time terminal streaming in educational settings are also explored.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Three-Part Asciinema Architecture

  • Asciinema is a suite: CLI recorder, JS web player, and an optional hosting server you can self-host.
  • Recordings are tiny ASCII-cast files, making hosting and bandwidth extremely cheap.
ANECDOTE

Running The Public Server On A Shoestring

  • Marcin runs the public server cheaply because recordings are tiny and Brightbox sponsors compute hosting.
  • He says his S3 bill is extremely low, around a few dollars a month, thanks to caching and small file sizes.
INSIGHT

Project As A Language Playground

  • Asciinema became a playground for Marcin to learn languages; he selected tools per component based on practical trade-offs.
  • The web server uses Elixir for efficiency and low CPU usage; the project evolved through Python, Go, ClojureScript, and Rust.
Get the Snipd Podcast app to discover more snips from this episode
Get the app