Libwebsockets a powerful and lightweight pure C library

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • GitHub repo µWebSockets

    Simple, secure & standards compliant web server for the most demanding of applications

    How does this fare compared to uWebSockets?

  • GitHub repo libwebsockets

    canonical networking library

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo WebUDP

    Minimal WebRTC datachannel server

    There is this[0]. It’s C++ but the API is simple and it works well, you don’t need to setup any extra ICE/TURN/STUN stuff either.


  • GitHub repo RingSocket

    Highly scalable lockless multi-threaded C11 Linux WebSocket server with backend app plugin API

    I wrote something similar, except instead of providing a library (which Libwebsockets already does a fine job of), I created a server/framework accepting shared objects as backend plugins running as dedicated threads interacting with spsc lockless ringbuffers. In other words, more or less the inverse of a library:

    I haven't been putting much time into it anymore lately, but I intend to create a bunch of language bindings for it soon so you can write plugins in other languages too such as Python, C++, Rust, etc. Should be interesting.

  • GitHub repo FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

    According to TechEmpower benchmark, C# and Java perform better in some tasks than C/C++ [1]

    Even in categories where C/C++ are more performant, other languages are not that far behind.

    If at all possible, we should not use memory unsafe languages for anything, especially something exposed as a server. No mater how careful you are, and with all the tooling available, majority of exploits in popular software happen due to memory unsafe languages.


  • GitHub repo libdatachannel

    C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets

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