Hopac VS express-c

Compare Hopac vs express-c and see what are their differences.

Hopac

http://hopac.github.io/Hopac/Hopac.html (by Hopac)

express-c

Fast, unopinionated, minimalist web framework for C (by williamcotton)
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
Hopac express-c
3 7
518 16
0.0% -
0.0 6.3
about 2 years ago 2 months ago
F# C
MIT License 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.

Hopac

Posts with mentions or reviews of Hopac. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-14.
  • Is Parallel Programming Hard, and, If So, What Can You Do About It? v2023.06.11a
    9 projects | news.ycombinator.com | 14 Jun 2023
    https://github.com/Hopac/Hopac is such an impressive piece of software. Too bad it never really took off like it deserved but with more popular competition like rx or just tasks/async (which is enough for most stuff) pretty unavoidable.
  • How do I get around the lack of MailboxProcessor in Fable?
    2 projects | /r/fsharp | 12 May 2023
    Found this article, it didn't even occur to me to look for a channel library in JS. This is definitely the direction to go in. Incidentally, Hopac is the most underrated of all F# libraries, just sayin'.
  • Learning about typed languages, static analysis, and tools
    3 projects | /r/ProgrammingLanguages | 14 Mar 2021
    3) This third part is the hardest, and that is to get proficient at concurrency itself. For this I had to study various libraries like Rx, but what I settled on after a lot of experimentation was to first compile the various passes to streams of lazy promises. For languages in particular, they have a top down structure and what is needed is to employ a lot of diffing in order to reuse old results. The difficult part is to organize all of this. I can't praise a library like Hopac enough, but even with it, it still took me months to get a grasp on the way the editor support segments should be designed. At the time of writing, I am a day away of finalizing what will be the true design of the language server. It is not that the end result is complex, this latest redesign of the last 1.5 weeks is in fact significantly simpler than what I had before, but concurrency requires different design principles than sequential programming and getting used to the new domain takes an active effort.

express-c

Posts with mentions or reviews of express-c. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-14.
  • Is Parallel Programming Hard, and, If So, What Can You Do About It? v2023.06.11a
    9 projects | news.ycombinator.com | 14 Jun 2023
    GCD/libdispatch is a fantastic approach to concurrency and you can build and install support for non-Apple operating systems:

    https://github.com/apple/swift-corelibs-libdispatch

    Here’s a simple echo server:

    https://github.com/williamcotton/c_playground/blob/master/sr...

    Here’s a simple multithreaded database pool:

    https://github.com/williamcotton/express-c/blob/master/src/d...

  • A highly intuitive visual guide on how memory allocation works, step by step
    3 projects | news.ycombinator.com | 22 May 2023
    Apache does this! And I do this in my own C web framework:

    https://github.com/williamcotton/express-c/blob/master/deps/...

  • My favorite C compiler flags during development
    3 projects | news.ycombinator.com | 29 Apr 2023
    Unfortunately not all of the sanitizers are working in clang for Apple Silicon machines. For my own CI pipeline I run both Darwin and Linux builds, leaks and valgrind respectively, along with the kitchen sink of compiler sanitizers:

    Here’s the GitHub actions for those platforms and a link to the Makefile:

    GitHub Action:

    https://github.com/williamcotton/express-c/blob/master/.gith...

    Makefile:

    https://github.com/williamcotton/express-c/blob/f2e1dde2f5a7...

  • The two types of C programmers (a provocative thesis)
    2 projects | news.ycombinator.com | 23 Apr 2023
    Lol, yeah, the libdispatch runtime is probably about as big as the Go runtime!

    I think this has a slight advantage in that it uses a memory arena for a per-request bump allocator so it should keep overall memory usage lower.

    The slowest part of all this has to do with Block_copy and the places where I’m very much treating blocks/closures in an OOP type manner.

    This could be fixed by writing a different function that did basically the same thing as Block_copy but for all the “methods” on an “object” in a single pass. But who has time for that? :D

    Here’s more about those performance issues and some text code that show how slow the approach is:

    https://github.com/williamcotton/express-c/tree/master/resea...

  • Software Dark Matter Is the Enemy of Software Transparency
    2 projects | news.ycombinator.com | 13 Nov 2022
    I’ve used an approach to copy only the shared libs from the build container to the production container. This not only gets rid of most of this “dark matter” but results in much smaller containers!

    https://github.com/williamcotton/express-c/blob/master/demo/...

  • Untangling Lifetimes: The Arena Allocator
    2 projects | news.ycombinator.com | 31 Oct 2022
    I use arenas for HTTP request handlers. The JSON built or parsed is only going to be around for the lifetime of the request. It's much simpler and faster to use an arena than to do reference counting wrapped around malloc/free.

    Here's an example where in a commit I swapped in an arena:

    https://github.com/williamcotton/express-c/commit/4ae53f38e3...

What are some alternatives?

When comparing Hopac and express-c you can also consider the following projects:

ThreadPool - A simple C++11 Thread Pool implementation

c_playground - C Playground

multiplix - An operating system kernel for RISC-V and AArch64 SBCs

ideas5 - Batch 5 of Ideas for Computing

mandelbrot - Simple fractal generator

swift-corelibs-libdispatch - The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware

futhark - :boom::computer::boom: A data-parallel functional programming language

vscode-extension-samples - Sample code illustrating the VS Code extension API.

gcc

fio - :wrench: A type-safe, highly concurrent library for F# based on pure functional programming