Our great sponsors
utf8 | stricks | |
---|---|---|
1 | 8 | |
6 | 96 | |
- | - | |
10.0 | 0.0 | |
over 10 years ago | over 2 years ago | |
C | C | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
utf8
-
Buffet
I used https://github.com/kumkee/utf8 (along with a bit of hacking) in my toy scheme interpreter to get Unicode strings.
Had to adapt some script I found to generate character class lookup functions to make it fully work IIRC and still need to plug-in some sort of copy on write mechanism since the strings managed in a shared buffer but other than that it works pretty well…if you’re into the unicorn strings that is.
stricks
-
Buffet
> I was thinking about Simple Dynamic Strings but I like this better.
Oh! here's my chance to plug https://github.com/alcover/stricks ! It follows the same principle as SDS (i.e user-facing type is char*) but is much faster (see bench) and frankly nicer to read through.
Not as feature complete, though.
-
Speeding past Redis/SDS strings
Mine is also variable (see https://github.com/alcover/stricks/blob/main/src/stx.c). Maybe they switch more often that necessary ?
The threads were very interesting. I got back to work and it's time to talk speed ! https://github.com/alcover/stricks#speed
- Show HN: Stricks, managed C strings library
What are some alternatives?
SDS - Simple Dynamic Strings library for C
buffet - All-inclusive Buffer for C
swift - The Swift Programming Language
motion - Motion is a clean, dynamically typed programming language.
CPython - The Python programming language