Skip to content

nekogakure/modernC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modernC

modernC is a library written in C that extends readability, safety, and expressiveness.

While it takes inspiration from the design philosophies of modern languages such as Rust, its highest priority is not breaking C’s existing syntax, build systems, or toolchains.
Everything is completed entirely on top of standard C, requiring no special compiler or runtime.
(Well… it does use some GCC extensions.)

Overview

  • Fundamental type definitions (integers, floating-point, bool, size types)
  • Error handling centered around Result / Option
  • Dynamic data structures (such as Vec)
  • String representations (borrowed / owned)
  • Attribute support
  • And more

How to Use?

See the documentation for details on how to use modernC.

Intended Use

For people who are interested in trying C++ or Rust but are not quite ready to take that step yet, and for enthusiasts.

Requirements

  • C23
  • GCC or Clang

License

See the LICENSE file for details.

modernC is fully supported by Arciris org.

About

library for modern and easy use of the C language

Resources

License

Stars

Watchers

Forks

Packages

No packages published