SaaSHub helps you find the best software and product alternatives Learn more →
STC Alternatives
Similar projects and alternatives to STC
-
-
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
-
mlib
Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).
-
-
-
Onboard AI
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
-
-
-
-
-
unordered_dense
A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion
-
Containers
This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory. (by bkthomps)
-
-
-
robin-hood-hashing
Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
-
-
robin-map
C++ implementation of a fast hash map and hash set using robin hood hashing
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
STC reviews and mentions
-
Is using void* considered "evil" in C just as it is in C++?
I'd say it's evil, but quite understandable very commonly used because there are no built-in alternatives in C. I basically never use void* in user-code, simply because there are no need for it when using a templating technique, like in my STC library. Even in the implementation of STC itself, void* is hardly used, if at all.
-
Book recommendations for learning C really thoroughly
Study Other Peoples C Code and here's one that is easy to read: https://github.com/stclib/STC/releases
-
[Noob Question] How do C programmers get around not having hash maps?
STC
-
What's the fastest high level language?
Sure it is. C misses a proper efficient generic standard/container library, like my https://github.com/stclib/STC, but that is irrelevant.
- STC v4.2 Released (note: new URL)
-
Popular Data Structure Libraries in C ?
I have used these two header-only STL-like libraries in small projects before: rurban/ctl and tylov/STC. The former has a list of similar projects in the README. The latter feels really fleshed out. It works best if you use the provided string type instead of char *. It also provides a bunch of macros for automatic cleanup that are used everywhere in the documentation, all of which I don't really like and use.
Smart Template Containers (STC)
-
So what's the best data structures and algorithms library for C?
Some data structure and algorithm library in C enable the (optional) separation between the interface of the container (which is expanded in your header) and its implementation (which is expanded in your source), like STC.
"Using macros" is a broad description that covers multiple paradigms. There are libraries that use macros in combination with typed pointers and functions that take void* parameters to provide some degree of API genericity and type safety at the same time (e.g. stb_ds and, as you mentioned, my own CC). There are libraries that use macros (or #include directives) to manually instantiate templates (e.g. STC, M*LIB, and Pottery). And then there are libraries that are implemented entirely or almost entirely as macros (e.g. uthash).
-
Lessons learnt while trying to modernize some C code
This is only the case, because the C standard library is quite small and has many bad parts. You can use something like STC [1] to even the playing field.
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007f0fa0020c90>
www.saashub.com | 11 Dec 2023
Stats
stclib/STC is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of STC is C.