Git Product home page Git Product logo

xsys's Introduction

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.

xsys's People

Contributors

rsms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xsys's Issues

Performance concerns

Will xsys accommodate also for "shared" IRQs & memory between user space and kernel space?

E.g. timers are notoriously known for being inefficient because of the need to call a syscall. Therefore there are many different attempts (e.g. use eBPF to ensure full preemptiveness of user space thread schedulers; use virtual vsyscall and vDSO if only user-space readouts of kernel-managed data are needed) to tame it, but they're by far not universally available 😢.

Btw. definitely read about ghOSt user space scheduling (https://netdevconf.info/0x15/slides/25/ghOSt%20Talk%20(Netdev).pdf ) - it's the future and has the potential to strongly influence any future syscall APIs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.