GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vicixdev/STD: An alternative standard library for C

BranchesTags
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
build
build
 
 
main
main
 
 
std
std
 
 
toolchains
toolchains
 
 
.gitignore
.gitignore
 
 
compile_flags.txt
compile_flags.txt
 
 
readme.md
readme.md
 
 
std.dox
std.dox
 
 

Repository files navigation

Vicix'STD

STD is an alternative cross-platform standard library for C for modern systems and architectures. STD is written in C89 and assembly. STD supports cpp compilers.

STD plans to support posix systems (MacOS, Linux, BSDs) and Windows. Both on the AMD64 and ARM64 architectures. Other targets might be added in the future.

Please note that currently the project runs only on arm macs. Other platforms will be supported in the future.

Philosophy

STD aims to be, over anything else, simple and readable. Its source code (both the headers and the implementation) will always be comprehensive and easy to understand. This means that code in STD will keep macro usage to a minimum and avoid obscure C features (this includes macro-based generics).

From a features standpoint, STD will not and does not aim to provide all the features that libc has. STD is opinionated in how things should and shouldn't be done.

Memory management is manual, but STD will offer ways to easily handle the memory (like Arenas and custom allocators). Currently it does not support an alternative to malloc and free. This may even remain the case in the long term, as I personally believe that the majority of cases does not need traditional heap memory allocations and can (and should) be handled with other tools.

Planned features for 0.1:

  • slices (in the limit of macro-less C)
  • strings (UTF8)
  • custom allocators (malloc/free not included)
  • good logging
  • a type registry (RTTI at home)
  • context system
  • file manipulation
  • support all the platforms
  • ...

Other planned features:

  • cross-compiling (using zig cc?)
  • dynamic linking
  • os interface
  • json serialization/deserialization
  • toml (or ini?) serialization/deserialization
  • binary serialization/deserialization
  • threading and synchronization primitives
  • task system (will be highly opinionated)
  • ...

Building

STD uses a unity build system. Just run ./build.sh in the root of the project and the project will build.
Other build scripts will come as long as more architectures are supported.

About

An alternative standard library for C

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.