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. Learn more →
Top 15 C Miscellaneou Projects
-
Redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
Project mention: How to Choose the Right Document-Oriented NoSQL Database for Your Application | dev.to | 2023-09-05NoSQL is a term that we have become very familiar with in recent times and it is used to describe a set of databases that don't make use of SQL when writing & composing queries. There are loads of different types of NoSQL databases ranging from key-value databases like the Reddis to document-oriented databases like MongoDB and Firestore to graph databases like Neo4J to multi-paradigm databases like FaunaDB and Cassandra.
-
My stuff for instance:
https://github.com/floooh/sokol
...inspired by:
https://github.com/nothings/stb
But it's not so much about the build system, but requiring a separate C/C++ compiler toolchain (Rust needs this, Zig currently does not - unless the proposal is implemented).
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
Let me reframe this. What we're saying to do is stop using C string manipulation such as strcat, strcpy, etc. Particularly, I'm saying simply don't use C-style null terminated strings until you actually go to call a C ABI interface where it is necessary.
The argument against this is that you might call something that already does this. Yes, sure, that IS true, but what this betrays is the fact that you have to deal with that regardless of whether or not you add additional error-prone C string manipulation code on top of having to worry about memory ownership, mutation, etc. when passing blobs of memory to "untrusted" APIs.
It's not about passing the buck. Passing a blob of memory to an API that might do horrible things not defined by an API contract is not safe if you do strcat to construct the string or you clone it out of an std::string or you marshal it from Go or Rust. It's about not creating a bigger mess than you already have.
Okay fine, but what if someone hates C++ and Rust and Go and Zig? No problem. There are a slew of options for C that can all handle safer, less error-prone string manipulation, including interoperability with null-terminated C strings. Like this one used in Redis:
https://github.com/antirez/sds
And on top of everything else, it's quite ergonomic, so it seems silly to not consider it.
This entire line of thinking deeply reminds me of Technology Connection's video The LED Traffic Light and the Danger of "But Sometimes!".
https://youtube.com/watch?v=GiYO1TObNz8
I think hypothetically you can construct some scenarios where not using C strings for string manipulation requires more care, but justifying error prone C string manipulation with "well, I might call something that might do something unreasonable" as if that isn't still your problem regardless of how you get there makes zero sense to me.
And besides, these hypothetical incorrect APIs would crash horrifically on the DS9K anyways.
-
-
Project mention: What route should I go for moving long links you find on the phone to a PC? | /r/PrivacyGuides | 2023-05-17
-
Project mention: Firefly – A new compiler and runtime for BEAM languages | news.ycombinator.com | 2023-04-18
Check out the existing AtomVM if you've not for that use case.
-
You'll likely need to make use of the `ssh` or `ssh2` crate, depending on whether you want to use `libssh` or `libssh2` (two different libraries) for the SSH protocol. Then, if you choose `libssh`, you'll need to port https://github.com/codinn/libssh/blob/master/examples/sshnetcat.c and if you choose `libssh` you'll need to port https://github.com/libssh2/libssh2/blob/master/example/tcpip-forward.c to Rust.
-
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.
-
-
Oh Jesus Christ. First of all I have. But that's not the point. Why is it in there in the first place? And why would POSIX invest their time implementing strtok_r? Do you really think they were "just kidding" and always intended on you writing your own? Besides, how is "writing your own" a better solution than using strtok_r which is widely available -- just not part of the standard?
-
-
-
-
-
-
-
Mergify
Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.
C Miscellaneous related posts
- CVE-2023-4863: Heap buffer overflow in WebP (Chrome)
- How to Choose the Right Document-Oriented NoSQL Database for Your Application
- OSS Redis 7.2 is now GA
- FRONTEND AND BACKEND UNDERSTANDING THE DIFFERENCES
- Django Caching 101: Understanding the Basics and Beyond
- Strlcpy and strlcat added to glibc 2.38
- Dragonfly Cache Design
-
A note from our sponsor - InfluxDB
www.influxdata.com | 22 Sep 2023
Index
What are some of the best open-source Miscellaneou projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | Redis | 61,522 |
2 | stb | 23,164 |
3 | SDS | 4,553 |
4 | Klib | 3,847 |
5 | ZBar | 2,416 |
6 | AtomVM | 1,222 |
7 | libssh2 | 1,168 |
8 | SLRE | 509 |
9 | Better String | 434 |
10 | libcpuid | 391 |
11 | semver.c | 174 |
12 | ub-canaries | 167 |
13 | libnih | 88 |
14 | libevil | 28 |
15 | ptldd | 1 |