Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.07 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.07 KB

⚠️ Early stage of development. Library is still shaping and API is unstable.

banner

Pandio

Simple library for non-blocking I/O operations. Developed mainly for my PandJS project (JavaScript runtime).

Build

Make sure you have CMake installed.

mkdir build
cd build
# inside build dir
cmake ..
# compile with platform's default compiler
cmake --build .

TODO:

  • Timers using heap data structure (works like setTimeout, setInterval).
  • Non-blocking IO for sockets using epoll/kqueue/iocp.
  • Basic networking abstraction to handle TCP.
  • Support Linux.
  • Support Windows.
  • Thread pool.
  • Support BSD/MacOS (tested only on FreeBSD).
  • Async files operations (experimental - currently only most basic operations are available).
  • Better error handling and error reporting to the end-user.
  • Signals.
  • Fix tests and GitHub workflows.

License

Distributed under the MIT License. See LICENSE for more information.