[go: nahoru, domu]

Skip to content

MuAlphaOmegaEpsilon/minimalib

Repository files navigation

minimalib

Warning: this is not for the faint of heart, here we are mixing assembly and C++, proceed at your own risk! :P

OS Compiler Result Check Result
Linux Clang 14 Clang Format
Linux GCC 11 Clang Tidy
MacOS Clang 14 CMake lint and fmt
MacOS GCC 11 Yaml lint and fmt
Windows Clang 14

A library that aims at producing minimal executables, that allows to directly invoke syscalls with a thin layer of syntactic sugar and without using any libc implementation. Avoiding the linkage to libc grants a little reduction in compilation times, performance improvements due to the enabled inlining, security improvements and in general full control over every piece of code that actually runs.

This library is developed for devices running on Linux, Windows and MacOS.

MSVC isn't supported because it doesn't allow inline assembly instructions, which are needed to perform syscalls.

To use this library simply add the path to this folder into the INCLUDEPATH of your compiler.

.
├── alg/                        # Algorithms
├── entrypoint/                 # Replacement for libc entrypoint
├── macro/                      # Collection of useful macros
├── syscall/                    # Simplified syscalls calling mechanisms
├── test/                       # Utilities for unit test writing
├── .scripts/                   # Utilities scripts
├── .tests/                     # Automated tests
├── LICENSE.md                  # License markdown file
└── README.md                   # Readme markdown file (YOU ARE HERE)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published