Generic dynamic array in 60 lines of C

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Klib

    A standalone and lightweight C library

  • Not an entirely uncommon idea. I've written one.

    There's also a well-known one here, in klib: https://github.com/attractivechaos/klib/blob/master/kvec.h

  • mlisp

    a vector-based lisp

  • I like that the comments mention another two implementations of a similar idea and all are a bit different.

    Here's one I've written a few years ago: https://github.com/kiryk/mlisp/blob/master/vector.c

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • rvec

    RAII dynamic array in C

  • bsv

    maximum performance data processing (by nathants)

  • awesome! i do the same thing for arrays[1] and maps[2].

    stuff like this is great when you are trying to find performance ceiling of some workload. literally nothing to hide.

    1. https://github.com/nathants/bsv/blob/master/util/array.h

    2. https://github.com/nathants/bsv/blob/master/util/map.h

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts