Portable, stand-alone C libraries and data structures. Each folder is stand-alone with a single header/source pair in it. There is no build for libraries, just copy files you want. e.g If you want the logger, copy sc_log.h and sc_log.c to your project. High performance & minimal memory usage. Portability between many operating systems and architectures. Tests with 100% branch coverage and multiple sanitizers. Drag & drop source code distribution. There is 100% branch coverage on Linux. Buffer for encoding/decoding variables, best fit for protocol/serialization implementations. Signal safe snprintf & Signal handler (handling CTRL+C, printing backtrace on crash etc). I often use these libraries for high-performance server-side applications. Also, I care about readable and easy-to-debug code. In summary, these libraries show my taste(trade-offs) in performance/API design/readability.

Features

  • Generic array/vector
  • Condition wrapper for Posix and Windows
  • Crc32c, uses crc32c CPU instruction if available
  • Min heap which can be used as max heap/priority queue as well
  • Intrusive linked list
  • A high performance open addressing hashmap

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow sc

sc Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sc!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C

Related Categories

C Software Development Software, C Libraries

Registered

2022-06-23