libark: A modern, secure, Swift-native foundational layer over Linux POSIX primitives. {Early Development}

Wait 5 sec.

libark libark is a modern, secure, Swift-native foundational layer over Linux POSIX primitives. While originally developed as the core runtime layer for ArkOS, libark is completely decoupled and designed to be used on any Linux distribution. It provides highly secure, object-oriented abstractions over low-level system calls, memory management, and file system interactions, without the burden of manual C interoperability. Features Object-Oriented POSIX: Wraps file descriptors, paths, and directory operations in safe, RAII-compliant Swift types. Secure Syscall Boundary: Routes kernel interactions through strict, audited Syscall primitives. Terminal Capabilities: Built-in abstractions for TTY detection and window sizing. Advanced Formatting: Standardized formatters for human-readable byte sizes (SI and IEC), ISO 8601 timestamps, permissions, and classifications. Declarative Sorting: Powerful generic SortEngine for metadata sorting across multiple criteria. Also ARK-OS has switched to github: https://github.com/orgs/ARK-OS-Swift-and-Linux/repositories   submitted by   /u/Ok_Sky3062 [link]   [comments]