~/talk

Evolving API design in Rust

Talkat Rust Belt Rust 2018 · 2018-10-19..10-20· [rust]
links:none on file
slides:none on file

Built a small 2D game engine called GG EZ by copying the Love 2D API into Rust and it works for real games, so the claim is: prefer simple, low-magic APIs that interoperate with ecosystem crates. Uses AppDirs, VFS, GFX RS, algebra and tokio as case studies and shows copy Love 2D API into Rust leads to usable code, while heavy trait metaprogramming (GFX RS, algebra) buys compile-time safety at the cost of discoverability. Iteration, real users and keeps complexity budget low decide redesigns.

AI-written summary · about

  1. 0:00Intro
  2. 0:30GGEasy
  3. 3:10Ask for advice
  4. 3:45How to design a good API
  5. 5:30Drawing functions
  6. 7:05GGEZ
  7. 10:55Good API in Rust
  8. 12:30The Creator
  9. 13:20Algebra
  10. 14:40Know your tools
  11. 15:35Rust makes things subtly terrible
  12. 16:45Static strings
  13. 17:50Virtual file systems
  14. 18:45Path
  15. 19:50Design decisions
  16. 22:10Conclusion
~/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.