https://github.com/rsms/xsys
A well-defined system API for abstracting the OS platform
https://github.com/rsms/xsys
Last synced: about 1 year ago
JSON representation
A well-defined system API for abstracting the OS platform
- Host: GitHub
- URL: https://github.com/rsms/xsys
- Owner: rsms
- License: mit
- Created: 2021-10-10T22:58:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-24T17:37:46.000Z (over 4 years ago)
- Last Synced: 2025-03-15T21:17:06.855Z (over 1 year ago)
- Language: C
- Size: 14.6 KB
- Stars: 66
- Watchers: 10
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xsys
xsys is an effort to implement a thin and well-defined system API
for enabling the development of programs that are portable; platform agnostic.
Instead of offering APIs for every imaginable programming language,
xsys takes a more fundamental approach: The Linux syscall interface.
To support a new platform a single function is implemented: `syscall`.
This makes it possible to run a program written for Linux on macOS—or
WebAssembly, or Microsoft Windows—without having to make any changes
to its source code.
How might xsys be interesting to me?
- For application developers:
a way to make your programs run on many platforms with minimal
changes to your code
- For compiler and programming-language authors:
a way to target many platforms without having to implement whatever
system API each platform uses.
- For OS/platform authors:
allow more programs to run natively even if they weren't written
specifically for your platform.