pshemass / zio-nio

A small, unopinionated ZIO interface to NIO.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zio-nio

CircleCI Gitter

Zio-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

About

A small, unopinionated ZIO interface to NIO.

License:Apache License 2.0


Languages

Language:Scala 100.0%