/scalaz-nio

Performant, purely-functional, low-level, and unopinionated wrapper around Java NIO functionality

Primary LanguageScalaApache License 2.0Apache-2.0

scalaz-nio

Gitter

Goal

Scalaz NIO provides performant, purely-functional, low-level, and unopinionated wrapping of Java NIO functionality.

Introduction & Highlights

Java NIO is unsafe, and can surprise you a lot with e.g. hiding actual error in IO operation and giving you only true/false values - IO was seccessful/not successful.

Competition

  • Scala standard
    • Cover File and Socket blocking/unblocking IO operations ❎
    • Performant ✅
    • Type-safe, pure FP ❎
    • Scalaz compatibility ❎
  • http4s blaze
    • Cover File and Socket blocking/unblocking IO operations ❎
    • Performant ✅
    • Type-safe, pure FP ❎
    • Scalaz compatibility ❎
  • ammonite-ops
    • Cover File and Socket blocking/unblocking IO operations ❎
    • Performant ✅
    • Type-safe, pure FP ❎
    • Scalaz compatibility ❎
  • Better files
    • Cover File and Socket blocking/unblocking IO operations ❎
    • Performant ✅
    • Type-safe, pure FP ❎
    • Scalaz compatibility ❎

Background

Client Server

Client Server