C Portable

Open-source C projects categorized as Portable

Top 23 C Portable Projects

  • flecs

    A fast entity component system (ECS) for C & C++

    Project mention: What are the limits of blueprints? | reddit.com/r/unrealengine | 2023-05-25

    There's also a performance question. While we can now use Blueprint nativization to convert Blueprints to C++ the result will be a fairly naive version, fast enough for most purposes but not if you're trying to push every bit of performance. This is where you're looking at making sure you're hitting things such as using the CPU cache as well as possible for an ECS system (Look at ENTT or Flecs if you want to see what they're about and why you'd want one), or a system needing to process massive amounts of data quickly such as the Voxel Plugin.

  • gravity

    Gravity Programming Language

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • yyjson

    The fastest JSON library in C

    Project mention: Show HN: Up to 100x Faster FastAPI with simdjson and io_uring on Linux 5.19 | news.ycombinator.com | 2023-03-06

    How does yyjson[0] compare to simdjson? Their benchmarks suggest it could be a positive.

    [0] https://github.com/ibireme/yyjson

  • bdwgc

    The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)

    Project mention: Writing a Simple Garbage Collector in C (2020) | news.ycombinator.com | 2023-04-08

    Boehm GC is mentioned in the article: https://github.com/ivmai/bdwgc

  • CPU-X

    CPU-X is a Free software that gathers information on CPU, motherboard and more

    Project mention: New to Linux Mint, have a bunch of questions | reddit.com/r/linuxmint | 2023-04-03

    2) The hard way is to mess with lm-sensors and try to configure it accordingly to your motherboards IDE chip. The easy way, which may or may not work, is CPU-X

  • soloud

    Free, easy, portable audio engine for games

    Project mention: what annoys you most while using c++? | reddit.com/r/cpp | 2022-08-28

    No, that has indeed solved it for me. But the first time I encountered it, my friend and I spent quite awhile debugging the problem. Almost 2 hours, I believe. We still have an open issue about that one.

  • zip

    A portable, simple zip library written in C (by kuba--)


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • mlibc

    Portable C standard library

    Project mention: Mlibc: A portable C standard library | news.ycombinator.com | 2022-09-21
  • MQTT-C

    A portable MQTT C client for embedded systems and PCs alike.

  • libplctag

    This C library provides a portable and simple API for accessing Allen-Bradley and Modbus PLC data over Ethernet.

    Project mention: C# HMI and Allan Bradley PLC | reddit.com/r/PLC | 2023-05-21
  • mps

    The Memory Pool System

    Project mention: Memory Pool System is a flexible and adaptable memory manager | reddit.com/r/hypeurls | 2022-12-17
  • tinygl

    The penultimate portable graphics library

  • FastLZ

    Small & portable byte-aligned LZ77 compression (by ariya)

  • wolfssh

    wolfSSH is a small, fast, portable SSH implementation, including support for SCP and SFTP. (by wolfSSL)

    Project mention: Is getting esp8266 to work with KDEconnect possible? | reddit.com/r/kde | 2022-12-30

    I haven't written a KDE Connect client, so I can't say much on whether your approach makes sense, but I'd ask whether KDE Connect is the best tool for the job if what you want is to execute commands on your PC remotely - you could consider something like WolfSSH that does not depend on having KDE Connect running.

  • wolfBoot

    wolfBoot is a portable, OS-agnostic, secure bootloader for microcontrollers, supporting firmware authentication and firmware update mechanisms.

    Project mention: Managed OTA Deployment and Bootloading | reddit.com/r/embedded | 2022-07-20

    There is wolfboot, an open source bootloader that is ready to go(min config required). It gives option to upload via SPI/UART/BLE/Ethernet.

  • signify

    OpenBSD tool to sign and verify signatures on files. Portable version.

    Project mention: PGP signatures on PyPI: worse than useless | reddit.com/r/netsec | 2023-05-21

    There are alternatives, minisign and signify.

  • nbsdgames

    A package of 18 text-based modern games

  • Zenroom

    Smart-contracts in human-like language.

    Project mention: Zenroom: NEW Data - star count:153.0 | reddit.com/r/algoprojects | 2023-02-25

    Comprehensive, powerful, commercial-quality CBOR encoder/ decoder that is still suited for small devices.

    Project mention: What are some essential libraries for embedded systems everyone should learn? | reddit.com/r/embedded | 2023-02-17

    CBOR is an encoding format. There are many libraries that implement it, including embedded-friendly options like QCBOR.

  • loksh

    A Linux port of OpenBSD's ksh

  • tulipcc

    The Tulip Creative Computer - a portable Python device for music, graphics and writing

    Project mention: Tulip Creative Computer - Python REPL, USB keyboard, audio, 1024x600 RGB LCD + touchscreen all from a single ESP32S3 | reddit.com/r/esp32 | 2023-02-17

    Source + schematics here

  • wic

    WebSockets in C for Embedded Applications (by cjhdev)

    Project mention: Transport agnostic Websocket library | reddit.com/r/cpp | 2022-07-14

    https://github.com/cjhdev/wic Almost ideal, but lacks thorough testing and has some perf issues

  • oconfigure

    configuration script for BSD.lv projects

    Project mention: Writing portable C that uses pledge/unveil? | reddit.com/r/openbsd | 2022-10-06

    You can use oconfigure for that, and many other OpenBSD-related tests and shims.

  • 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.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-25.

C Portable related posts


What are some of the best open-source Portable projects in C? This list will help you:

Project Stars
1 flecs 4,299
2 gravity 4,165
3 yyjson 2,487
4 bdwgc 2,436
5 CPU-X 1,658
6 soloud 1,494
7 zip 1,139
8 mlibc 634
9 MQTT-C 617
10 libplctag 553
11 mps 488
12 tinygl 338
13 FastLZ 317
14 wolfssh 296
15 wolfBoot 241
16 signify 232
17 nbsdgames 174
18 Zenroom 157
19 QCBOR 136
20 loksh 114
21 tulipcc 90
22 wic 61
23 oconfigure 38
TestGPT | Generating meaningful tests for busy devs
Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.