~/talk

Towards a safe, sane I O library in Scala

Talkat Scala Days Berlin 2016 · 2016-06-15..06-17· [databases]
slides:none on file

A new Scala library called better-files wraps Java NIO with no external dependencies and implements safe defaults, automatic resource management (self-closing iterators and autoclose implicits), and a single File class with rich ops for copy/move/zip/permissions and pattern-matched file types. Benchmarks show the scanner is 8x faster than java.util.Scanner. It adds both a thread-backed file watcher and an Akka-based reactive watcher, ships with tests and CI, sits at about 3,000 lines of code, and is used in production.

AI-written summary · about

  1. 0:00Intro
  2. 0:30filesystem IO
  3. 4:26Java IO
  4. 5:45Copying directories
  5. 6:33Solutions
  6. 9:47Scala Libraries
  7. 13:35Ideal IO Library
  8. 28:15Java baggage
  9. 29:10implicit conversions
  10. 29:57pattern matching
  11. 31:23globbing
  12. 31:52file system operations
  13. 32:50commands
  14. 33:20attributes
  15. 35:06link
  16. 36:16file comparison
  17. 36:49custom ordering
  18. 37:24zip
  19. 38:14resource management
  20. 39:56scanner
  21. 41:31while monitoring
  22. 42:32custom events
  23. 42:52abstraction
  24. 44:06default library
  25. 44:51source
  26. 45:31QA
~/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.