Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alaviss/nim-sys
Abstractions for common operating system interfaces
https://github.com/alaviss/nim-sys
nim system work-in-progress
Last synced: 7 days ago
JSON representation
Abstractions for common operating system interfaces
- Host: GitHub
- URL: https://github.com/alaviss/nim-sys
- Owner: alaviss
- License: mit
- Created: 2021-01-03T16:10:29.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-29T17:30:38.000Z (4 months ago)
- Last Synced: 2024-08-30T00:58:20.899Z (4 months ago)
- Topics: nim, system, work-in-progress
- Language: Nim
- Homepage: https://alaviss.github.io/nim-sys
- Size: 475 KB
- Stars: 47
- Watchers: 8
- Forks: 3
- Open Issues: 14
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: license.txt
Awesome Lists containing this project
README
# An abstraction layer for common operating system services
[![CI status](https://github.com/alaviss/nim-sys/workflows/CI/badge.svg)](https://github.com/alaviss/nim-sys/actions?query=workflow%3ACI)
![Minimum supported Nim version](https://img.shields.io/badge/nim-2.0.0%2B-informational?style=flat&logo=nim)
[![License](https://img.shields.io/github/license/alaviss/nim-sys?style=flat)](#license)This package is an experiment in rewriting various parts of stdlib's `os` module.
The goals are:
- To employ the use of destructors for resource lifetime management
- To provide simpler and more powerful interfaces to operating system services
- To abstract away OS differences and provide consistent and intuitive behaviors
- To reduce reliance on libcCurrently this project is a work-in-progress, and works here are aimed for upstreaming to the stdlib.
- [API documentation](https://alaviss.github.io/nim-sys)
## On-going projects
These stdlib modules are targeted for redesign/reimplementation (ordered by priority):
- osproc
- io
- os## Targets
This package primarily targets the following operating systems:
- Windows
- Linux
- macOSThere is also second-tier support for:
- FreeBSD
- OpenBSD
- NetBSD
- POSIX-compatible OSesThese OS are not covered by automated testing, so they may break at any time.
## License
This project is distributed under the terms of the MIT license.
See [license.txt](license.txt) for more details.