facil.io VS ck

Compare facil.io vs ck and see what are their differences.

ck

Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+. (by concurrencykit)
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
facil.io ck
8 7
2,014 2,295
- 0.4%
0.0 6.9
10 days ago 21 days ago
C C
MIT License GNU General Public License v3.0 or later
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.

facil.io

Posts with mentions or reviews of facil.io. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-04.
  • Rage: Fast web framework compatible with Rails
    12 projects | news.ycombinator.com | 4 Dec 2023
    Most of the speed I believe is from using the server iodine https://github.com/boazsegev/iodine which is a wrapper around facil.io https://facil.io that is built using C.
  • Zap – fast back ends in Zig
    8 projects | news.ycombinator.com | 14 Jun 2023
    Seeing this, and the use of zig for https://github.com/tigerbeetledb/tigerbeetle I wonder if zig might become a good tradeoff vs rust for servers if in long term it's more readable and maintainable and with a different approach to quality.

    I would also be interested to hear the compile time, binary size and memory usage of those example apps.

    Looks like the underlying facil.io library hasn't seen any commits since 2021, so that's a bit of a red flag. https://github.com/boazsegev/facil.io

  • Made my first C web application using CWebStudio framework
    3 projects | /r/cprogramming | 10 May 2023
    I don't have a use-case for these C web frameworks, but a quick google search yielded facil.io which appears to be a collaborative project with a much stronger codebase, better documentation, less janky APIs and should likely be the one most people gravitate to.
  • Caffè Italia * 08/09/22
    6 projects | /r/italy | 8 Sep 2022
    ?
  • Facil.io – The C Web Application Framework
    1 project | news.ycombinator.com | 30 Jul 2022
  • Show HN: Pure C Asynchronous HTTP Framework
    2 projects | news.ycombinator.com | 14 Apr 2022
    Looks interesting.

    There’s also facil[0], and h20 (though the latter is more of a standalone thing, it seems).

    It might be fun to try to build something on top of them in something like Chicken Scheme or Janet.

    [0] https://facil.io/

  • C Deep
    80 projects | dev.to | 27 Feb 2021
    facil.io - Mini-framework for web applications. Includes a fast HTTP and Websocket server, and also supports custom protocols. MIT

ck

Posts with mentions or reviews of ck. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-01.
  • Falsehoods programmers believe about undefined behavior
    1 project | /r/C_Programming | 28 Nov 2022
    Maybe I'm missing something, but x is not volatile and the compiler is free to assume that it is not modified concurrently outside the bounds of C's memory model. Compilers can and do hoist out loop invariants, and https://github.com/concurrencykit/ck/commit/b54ae5c4ace9b94442bbb46858449069f566d269 seems like an example of compilers doing what you say they don't. What am I missing?
  • Concurrency Kit
    1 project | news.ycombinator.com | 10 Jun 2022
  • A portable, license-free, lock-free data structure library written in C.
    1 project | /r/C_Programming | 15 May 2022
    Recommend checking out http://concurrencykit.org instead.
  • Does a thread have a better chance of acquiring a mutex if it's just in time? Or if it's been in the queue? Neither?
    1 project | /r/AskComputerScience | 5 Aug 2021
    If you're interested in how other approaches work, or how one achieves concurrency on shared mutable state without mutual exclusion, would recommend checking out concurrency kit.
  • Libdill: Structured Concurrency for C (2016)
    4 projects | news.ycombinator.com | 1 Jun 2021
    There are plenty of practical solutions to the safe memory reclamation problem in C. The language just doesn't force one on you.

    From epoch-based reclamation (https://github.com/concurrencykit/ck/blob/master/include/ck_..., especially with the multiplexing extension to Fraser's classic scheme), to quiescence schemes (https://liburcu.org/), or hazard pointers (https://github.com/facebook/folly/blob/master/folly/synchron..., or https://pvk.ca/Blog/2020/07/07/flatter-wait-free-hazard-poin...)... or even simple using a type-stable (https://www.usenix.org/legacy/publications/library/proceedin...) memory allocator.

    In my experience, it's easier to write code that is resilient to hiccups in C than in Java. Solving SMR with GC only offers something close to lock-freedom when you can guarantee global GC pauses are short enough... and common techniques to bound pauses, like explicitly managed freelists land you back in the same problem space as C.

  • C Deep
    80 projects | dev.to | 27 Feb 2021
    ck - Concurrency primitives, safe memory reclamation mechanisms and non-blocking data structures. BSD-2-Clause
  • Super-expressive – Write regex in natural language
    4 projects | news.ycombinator.com | 21 Jan 2021
    Indeed they do, https://github.com/concurrencykit/ck

What are some alternatives?

When comparing facil.io and ck you can also consider the following projects:

Kore - An easy to use, scalable and secure web application framework for writing web APIs in C or Python. || This is a read-only mirror, please see https://kore.io/mail and https://kore.io/source for information on how to contribute via the mailing lists.

libcds - A C++ library of Concurrent Data Structures

Civetweb - Embedded C/C++ web server

libdill - Structured concurrency in C

Onion - C library to create simple HTTP servers and Web Applications.

moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11

Pistache - A high-performance REST toolkit written in C++

Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl

TreeFrog Framework - TreeFrog Framework : High-speed C++ MVC Framework for Web Application

HPX - The C++ Standard Library for Parallelism and Concurrency

Wt - Wt, C++ Web Toolkit

CUB - THIS REPOSITORY HAS MOVED TO github.com/nvidia/cub, WHICH IS AUTOMATICALLY MIRRORED HERE.