Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Towards a Safe, Sane I O Library in Scala

Scala Days Conferences via YouTube

Overview

Explore the challenges and solutions for creating a safe and efficient I/O library in Scala in this conference talk from Scala Days New York 2016. Dive into the better-files library, a thin wrapper around Java NIO, and learn how it simplifies I/O operations in Scala. Examine different approaches to I/O library design, including monadic, non-blocking, and effect-based APIs. Discover techniques for handling filesystem operations, pattern matching, globbing, file comparisons, and resource management. Gain insights into implementing custom events, abstractions, and monitoring capabilities. Compare better-files with default libraries and understand how it addresses common Java I/O challenges while leveraging Scala's strengths.

Syllabus

Intro
filesystem IO
Java IO
Copying directories
Solutions
Scala Libraries
Ideal IO Library
Java baggage
implicit conversions
pattern matching
globbing
file system operations
commands
attributes
link
file comparison
custom ordering
zip
resource management
scanner
while monitoring
custom events
abstraction
betterfiles
default library
source
QA

Taught by

Scala Days Conferences

Reviews

Start your review of Towards a Safe, Sane I O Library in Scala

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.