buf VS SPString

Compare buf vs SPString and see what are their differences.

buf

C string buffer library (by alcover)

SPString

A C string library that's designed with embedded development in mind. (by NJdevPro)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
buf SPString
4 3
66 7
- -
0.0 0.0
about 3 years ago over 1 year ago
C C
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

buf

Posts with mentions or reviews of buf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-02.

SPString

Posts with mentions or reviews of SPString. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-02.
  • Strings In C Tiring And Unsafe So I Just Made
    1 project | /r/programming | 2 Feb 2021
    I didn't know about SDS. I wrote this https://github.com/NJdevPro/SPString about 15 years ago though for an embedded electronic project.
  • Strings in C... tiring and unsafe. So I just made this lib. Am I doing it right, Reddit ?
    9 projects | /r/programming | 2 Feb 2021
    I've developped my own string library 15 years ago and used it in payment terminals with rather limited memory. if you are so concerned with string size, 2 bytes is enough for 65535 characters, which is enough for nearly everything. You are never going to allocate 8 bytes/string, that's stupid. If you need to work on more than that (a text editor for instance) you are not going to use C strings anyway, but some more complicated data structure. If you think adding 2 bytes per string is a problem, you probably are optimizing the wrong way. Pascal strings have been used since the 1970s and AFAIK have never been a problem memory-wise. And that's normal since they took exactly the same size as C strings.

What are some alternatives?

When comparing buf and SPString you can also consider the following projects:

libds - A collection of data structures for C

MuditaOS - Mobile operating system based on FreeRTOS™ optimized for E Ink displays - developed for Mudita Pure minimalist phone

SDS - Simple Dynamic Strings library for C

cherryleaks - Library for debugging Dynamic Memory Allocation dynamically inside your application!

stb - stb single-file public domain libraries for C/C++

modern-embedded-programming-course - Companion repository to the "Modern Embedded Systems Programming" video course.

FPGA_Multimedia_Player - MSc Final Project